1
0
kopie van https://github.com/astaxie/beego.git synced 2025-07-05 22:30:17 +00:00

Remote empty line

This commit is contained in:
YuShuangqi
2016-03-24 08:35:42 +08:00
bovenliggende 1eab11ca90
commit b7d1afbf86

Bestand weergeven

@ -238,7 +238,6 @@ func (output *BeegoOutput) XML(data interface{}, hasIndent bool) error {
// Download forces response for download file.
// it prepares the download response header automatically.
func (output *BeegoOutput) Download(file string, filename ...string) {
// check get file error, file not found or other error.
if _, err := os.Stat(file); err != nil {
http.ServeFile(output.Context.ResponseWriter, output.Context.Request, file)