Patch -> PATCH

This commit is contained in:
huangsimin 2018-10-25 19:03:42 +08:00
parent 166fe96265
commit ae3982faaa

View File

@ -39,7 +39,7 @@ func buildBodyRequest(ver, rawurl string, body *Body) *http.Request {
}
} else {
if contentType == "" {
if ver == "POST" || ver == "PUT" || ver == "Patch" {
if ver == "POST" || ver == "PUT" || ver == "PATCH" {
contentType = TypeURLENCODED
}
}