Skip to content

Commit

Permalink
im silly
Browse files Browse the repository at this point in the history
  • Loading branch information
1lann committed Jan 5, 2024
1 parent f804998 commit 413c733
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mini.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}

Expand Down

0 comments on commit 413c733

Please sign in to comment.