v0.0.222 forgot status code
This commit is contained in:
parent
0c05bcf29b
commit
74d42637e7
@ -191,8 +191,8 @@ func Download(mimetype string, filepath string, filename string) HTTPResponse {
|
||||
return &fileHTTPResponse{mimetype: mimetype, filepath: filepath, filename: &filename}
|
||||
}
|
||||
|
||||
func DownloadData(mimetype string, filename string, data []byte) HTTPResponse {
|
||||
return &downloadDataHTTPResponse{mimetype: mimetype, data: data, filename: &filename}
|
||||
func DownloadData(status int, mimetype string, filename string, data []byte) HTTPResponse {
|
||||
return &downloadDataHTTPResponse{statusCode: status, mimetype: mimetype, data: data, filename: &filename}
|
||||
}
|
||||
|
||||
func Redirect(sc int, newURL string) HTTPResponse {
|
||||
|
@ -1,5 +1,5 @@
|
||||
package goext
|
||||
|
||||
const GoextVersion = "0.0.221"
|
||||
const GoextVersion = "0.0.222"
|
||||
|
||||
const GoextVersionTimestamp = "2023-08-06T19:10:31+0200"
|
||||
const GoextVersionTimestamp = "2023-08-06T19:11:59+0200"
|
||||
|
Loading…
Reference in New Issue
Block a user