From 543f5af5af796ebb9e1beb69b01292104f191d2e Mon Sep 17 00:00:00 2001 From: yanyiwu Date: Fri, 9 Jan 2015 19:24:49 +0800 Subject: [PATCH] add w.Write for FilerServer HTTP response --- go/weed/weed_server/filer_server_handlers.go | 1 + 1 file changed, 1 insertion(+) diff --git a/go/weed/weed_server/filer_server_handlers.go b/go/weed/weed_server/filer_server_handlers.go index 29a3d4b07..0811b7973 100644 --- a/go/weed/weed_server/filer_server_handlers.go +++ b/go/weed/weed_server/filer_server_handlers.go @@ -185,6 +185,7 @@ func (fs *FilerServer) PostHandler(w http.ResponseWriter, r *http.Request) { return } w.WriteHeader(http.StatusCreated) + w.Write(resp_body) } // curl -X DELETE http://localhost:8888/path/to