From 413c7337cac4128d2848d4ed51bfc681f82a2507 Mon Sep 17 00:00:00 2001 From: Jason Chu Date: Fri, 5 Jan 2024 19:49:09 +0000 Subject: [PATCH] im silly --- mini.go | 1 + 1 file changed, 1 insertion(+) diff --git a/mini.go b/mini.go index f1aeee1..d126f95 100644 --- a/mini.go +++ b/mini.go @@ -196,6 +196,7 @@ func (t *MiniTransport) RoundTrip(req *http.Request) (*http.Response, error) { ctx = context.WithValue(ctx, roundTripDepthKey{}, &one) } + req.Body = io.NopCloser(bytes.NewReader(body)) return t.RoundTrip(req.WithContext(ctx)) }