Skip to content

body: set GetBody so 307/308 can resend - #72

Open
team-humaki wants to merge 1 commit into
h2non:masterfrom
team-humaki:body-set-getbody
Open

team-humaki wants to merge 1 commit into
h2non:masterfrom
team-humaki:body-set-getbody

Conversation

@team-humaki

Copy link
Copy Markdown

net/http will not follow 307/308 when GetBody is unset and the request has a body.

String, JSON, XML, and rewindable Reader bodies now set GetBody so the client can replay them.

Fixes #64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GetBody() the Method in Golang is not define in gentleman.

1 participant