From 82ac7d691bc9e6720c3e61eeb9683e2a4701aafb Mon Sep 17 00:00:00 2001 From: Wolfy-J Date: Fri, 22 Jun 2018 13:08:26 +0300 Subject: delete now support post payloads --- service/http/request.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- cgit v1.2.3