Browse Source

Allow /upload/ for PUT requests without filename

pull/73/head
andreimarcu 9 years ago
parent
commit
0d365409d0
  1. 1
      server.go

1
server.go

@ -138,6 +138,7 @@ func setup() *web.Mux {
mux.Post("/upload", uploadPostHandler)
mux.Post("/upload/", uploadPostHandler)
mux.Put("/upload", uploadPutHandler)
mux.Put("/upload/", uploadPutHandler)
mux.Put("/upload/:name", uploadPutHandler)
mux.Delete("/:name", deleteHandler)

Loading…
Cancel
Save