Browse Source

add w.Write for FilerServer HTTP response

pull/54/head
yanyiwu 10 years ago
parent
commit
543f5af5af
  1. 1
      go/weed/weed_server/filer_server_handlers.go

1
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

Loading…
Cancel
Save