diff --git a/middleware.go b/middleware.go index a43a41b5..ac2bbc9e 100644 --- a/middleware.go +++ b/middleware.go @@ -481,7 +481,6 @@ func handleContentType(c *Client, r *Request) { func handleRequestBody(c *Client, r *Request) error { var bodyBytes []byte - releaseBuffer(r.bodyBuf) r.bodyBuf = nil switch body := r.Body.(type) {