summaryrefslogtreecommitdiff
path: root/service/http/request.go
diff options
context:
space:
mode:
Diffstat (limited to 'service/http/request.go')
-rw-r--r--service/http/request.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/http/request.go b/service/http/request.go
index 80e29f49..b1ca514a 100644
--- a/service/http/request.go
+++ b/service/http/request.go
@@ -153,7 +153,7 @@ func (r *Request) contentType() int {
}
ct := r.Headers.Get("content-type")
- if ct == "application/x-www-form-urlencoded" {
+ if strings.Contains(ct, "application/x-www-form-urlencoded") {
return contentFormData
}