diff --git a/commands/server.go b/commands/server.go index da6313f17b9..332e35c01b9 100644 --- a/commands/server.go +++ b/commands/server.go @@ -449,7 +449,6 @@ func (f *fileServer) createEndpoint(i int) (*http.ServeMux, net.Listener, string requestURI = redirect.To r = r2 } - fallthrough default: w.Header().Set("Content-Type", "") http.Redirect(w, r, redirect.To, redirect.Status)