add w.Write for FilerServer HTTP response

This commit is contained in:
yanyiwu 2015-01-09 19:24:49 +08:00
parent ab20cf8197
commit 543f5af5af

View file

@ -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