diff --git a/http.go b/http.go index 3000681e..04449a11 100644 --- a/http.go +++ b/http.go @@ -252,16 +252,6 @@ func (rnr *httpRunner) Run(ctx context.Context, r *httpRequest) error { if err := rnr.validator.ValidateRequest(ctx, req); err != nil { return err } - // reset Request.Body - reqBody, err := r.encodeBody() - if err != nil { - return err - } - rc, ok := reqBody.(io.ReadCloser) - if !ok && reqBody != nil { - rc = io.NopCloser(reqBody) - } - req.Body = rc r.setContentTypeHeader(req) for k, v := range r.headers {