Skip to content

Commit

Permalink
Fix http call set body
Browse files Browse the repository at this point in the history
Co-authored-by: Matt Robenolt <[email protected]>
  • Loading branch information
emcfarlane and mattrobenolt authored Oct 20, 2023
1 parent 22629fb commit 9d498db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion http_call.go
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ func makeRequest(ctx context.Context, url *url.URL, header http.Header, body io.
Proto: "HTTP/1.1",
ProtoMajor: 1,
ProtoMinor: 1,
Body: nil, // Set in Do.
Body: body,
Host: url.Host,
}).WithContext(ctx)

Expand Down

0 comments on commit 9d498db

Please sign in to comment.