Patch -> PATCH
This commit is contained in:
parent
166fe96265
commit
ae3982faaa
2
base.go
2
base.go
|
@ -39,7 +39,7 @@ func buildBodyRequest(ver, rawurl string, body *Body) *http.Request {
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if contentType == "" {
|
if contentType == "" {
|
||||||
if ver == "POST" || ver == "PUT" || ver == "Patch" {
|
if ver == "POST" || ver == "PUT" || ver == "PATCH" {
|
||||||
contentType = TypeURLENCODED
|
contentType = TypeURLENCODED
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user