mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #141 from Hoverbear/patch-1
Added a PUT handler that copies the behavior of the POST handler.
This commit is contained in:
commit
29b7aab5fc
@ -48,6 +48,8 @@ func Multiplexer(w http.ResponseWriter, req *http.Request) error {
|
||||
return GetHttpHandler(w, req)
|
||||
case "POST":
|
||||
return SetHttpHandler(w, req)
|
||||
case "PUT":
|
||||
return SetHttpHandler(w, req)
|
||||
case "DELETE":
|
||||
return DeleteHttpHandler(w, req)
|
||||
default:
|
||||
|
Loading…
x
Reference in New Issue
Block a user