basepath fixes

This commit is contained in:
Nazar Kanaev
2021-03-17 16:25:16 +00:00
parent 5e453e3227
commit f3c55ba5f2
4 changed files with 25 additions and 29 deletions

View File

@@ -54,9 +54,6 @@ func (s *Server) Start() {
}
}
func unsafeMethod(method string) bool {
return method == "POST" || method == "PUT" || method == "DELETE"
}
/*
func (h Server) ServeHTTP(rw http.ResponseWriter, req *http.Request) {