diff options
Diffstat (limited to 'service')
-rw-r--r-- | service/http/request.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/service/http/request.go b/service/http/request.go index acf80893..176279df 100644 --- a/service/http/request.go +++ b/service/http/request.go @@ -7,6 +7,7 @@ import ( "github.com/spiral/roadrunner" "github.com/spiral/roadrunner/service/http/attributes" "io/ioutil" + "log" "net" "net/http" "net/url" @@ -94,6 +95,9 @@ func NewRequest(r *http.Request, cfg *UploadsConfig) (req *Request, err error) { return req, err case contentMultipart: + b, _ := ioutil.ReadAll(r.Body) + log.Print(string(b)) + if err = r.ParseMultipartForm(defaultMaxMemory); err != nil { return nil, err } |