diff options
author | Wolfy-J <[email protected]> | 2018-06-22 13:08:26 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-06-22 13:08:26 +0300 |
commit | 82ac7d691bc9e6720c3e61eeb9683e2a4701aafb (patch) | |
tree | cc11210401f4a8811f9f2e78a6170c03650a4d4d | |
parent | 0e2cbb7b9c3e138a9551ddcab9399769ee68eaa1 (diff) |
delete now support post payloads
-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 3082eeb5..9281a3f5 100644 --- a/service/http/request.go +++ b/service/http/request.go @@ -132,7 +132,7 @@ func (r *Request) Payload() (p *roadrunner.Payload, err error) { // contentType returns the payload content type. func (r *Request) contentType() int { - if r.Method != "POST" && r.Method != "PUT" && r.Method != "PATCH" { + if r.Method != "POST" && r.Method != "PUT" && r.Method != "PATCH" && r.Method != "DELETE" { return contentNone } |