diff options
author | Moein Pakkhesal <[email protected]> | 2019-09-29 18:01:12 +0330 |
---|---|---|
committer | Moein Pakkhesal <[email protected]> | 2019-09-29 18:01:12 +0330 |
commit | 84bd03bd0891a57cf2fe26c20402c5d98a96d41f (patch) | |
tree | 1a2d541c58d95ac764b26f9739e7984021dcfc8f | |
parent | f77f891846f3a9bf05920812d38e49039db46bce (diff) |
handle body content on http GET method
-rw-r--r-- | service/http/request.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/service/http/request.go b/service/http/request.go index e56acb2a..98508342 100644 --- a/service/http/request.go +++ b/service/http/request.go @@ -151,7 +151,7 @@ func (r *Request) Payload() (p *roadrunner.Payload, err error) { // contentType returns the payload content type. func (r *Request) contentType() int { - if r.Method == "GET" || r.Method == "HEAD" || r.Method == "OPTIONS" { + if r.Method == "HEAD" || r.Method == "OPTIONS" { return contentNone } |