Skip to content

multipart: set Content-Length and GetBody for form fields - #74

Open
team-humaki wants to merge 1 commit into
h2non:masterfrom
team-humaki:multipart-form-content-length
Open

team-humaki wants to merge 1 commit into
h2non:masterfrom
team-humaki:multipart-form-content-length

Conversation

@team-humaki

Copy link
Copy Markdown

Form() built the multipart body but left ContentLength at 0 and GetBody unset, so servers could see an empty form.

Snapshot the payload, set the length, and allow 307/308 to resend it.

Fixes #65

Form() built the multipart body but left ContentLength at 0 and
GetBody unset, so servers could see an empty form. Snapshot the
payload, set the length, and allow 307/308 to resend it.

Fixes h2non#65
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.

The expression data pass is empty

1 participant