diff options
author | Anton Titov <[email protected]> | 2019-10-02 00:23:35 +0300 |
---|---|---|
committer | GitHub <[email protected]> | 2019-10-02 00:23:35 +0300 |
commit | 85a2a735ea51252f6e9cf396b99e0e28f195f9da (patch) | |
tree | 1a2d541c58d95ac764b26f9739e7984021dcfc8f | |
parent | f77f891846f3a9bf05920812d38e49039db46bce (diff) | |
parent | 84bd03bd0891a57cf2fe26c20402c5d98a96d41f (diff) |
Merge pull request #187 from moeinpaki/feature/body-content-on-http-get-request
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 } |