Skip to content

Commit

Permalink
net/http: correct RFC for MethodPatch
Browse files Browse the repository at this point in the history
Fixes golang#15546.

Change-Id: I39c29ea6999812dd5f1c45f67bddad28f20b6c6b
Reviewed-on: https://go-review.googlesource.com/22773
Reviewed-by: Brad Fitzpatrick <[email protected]>
  • Loading branch information
minux authored and bradfitz committed May 4, 2016
1 parent 2e2481e commit bfcb5b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/net/http/method.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const (
MethodHead = "HEAD"
MethodPost = "POST"
MethodPut = "PUT"
MethodPatch = "PATCH" // RFC 5741
MethodPatch = "PATCH" // RFC 5789
MethodDelete = "DELETE"
MethodConnect = "CONNECT"
MethodOptions = "OPTIONS"
Expand Down

0 comments on commit bfcb5b6

Please sign in to comment.