Fix whitespace
This commit is contained in:
parent
78060556a2
commit
2a4434281c
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ func serveTarball(w http.ResponseWriter, r *http.Request, dir string) error {
|
|||
// This tends to trigger archive type tools, which will then use the filename to
|
||||
// identify the contents correctly.
|
||||
w.Header().Set("Content-Type", "application/gzip")
|
||||
w.Header().Set("Content-Disposition", "attachment; filename=" + dfilename+".tar.gz")
|
||||
w.Header().Set("Content-Disposition", "attachment; filename=" + dfilename + ".tar.gz")
|
||||
|
||||
filenames, err := directory.Readdirnames(-1)
|
||||
if err != nil {
|
||||
|
|
Reference in a new issue