Commit bfcb5b64 authored by Shenghou Ma's avatar Shenghou Ma Committed by Brad Fitzpatrick

net/http: correct RFC for MethodPatch

Fixes #15546.

Change-Id: I39c29ea6999812dd5f1c45f67bddad28f20b6c6b
Reviewed-on: https://go-review.googlesource.com/22773Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 2e2481ed
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment