Cleanup vim artifacts
This commit is contained in:
parent
7152adb902
commit
cb8b8800ba
2
csp.go
2
csp.go
@ -36,5 +36,3 @@ func ContentSecurityPolicy(o CSPOptions) func(http.Handler) http.Handler {
|
||||
}
|
||||
return fn
|
||||
}
|
||||
|
||||
// vim:set ts=8 sw=8 noet:
|
||||
|
@ -34,5 +34,3 @@ func TestContentSecurityPolicy(t *testing.T) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// vim:set ts=8 sw=8 noet:
|
||||
|
@ -94,5 +94,3 @@ func fileTorrentHandler(c web.C, w http.ResponseWriter, r *http.Request) {
|
||||
w.Header().Set(`Content-Disposition`, fmt.Sprintf(`attachment; filename="%s.torrent"`, fileName))
|
||||
http.ServeContent(w, r, "", time.Now(), bytes.NewReader(encoded))
|
||||
}
|
||||
|
||||
// vim:set ts=8 sw=8 noet:
|
||||
|
@ -58,5 +58,3 @@ func TestCreateTorrentWithImage(t *testing.T) {
|
||||
t.Fatal("Torrent pieces did not match expected pieces for image")
|
||||
}
|
||||
}
|
||||
|
||||
// vim:set ts=8 sw=8 noet:
|
||||
|
Loading…
Reference in New Issue
Block a user