Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix panic from Gzip reading an empty stream #83

Merged
merged 1 commit into from
May 5, 2017
Merged

Conversation

seanmonstar
Copy link
Owner

Closes #82

@seanmonstar seanmonstar merged commit 7d457b4 into master May 5, 2017
@seanmonstar seanmonstar deleted the gzip-empty branch May 18, 2017 20:07
repi pushed a commit to EmbarkStudios/reqwest that referenced this pull request Dec 20, 2019
phideg pushed a commit to phideg/octocrab that referenced this pull request Oct 4, 2023
Fixes issue XAMPPRocky#463.

GitHub REST API endpoints, that use the http POST method, seem to require a `CONTENT-LENGTH` header even if the request body is empty.

This change addresses the issue either by sending an empty JSON document or by explicitly setting the `CONTENT-LENGTH` header as described in following issue:
seanmonstar/reqwest#83
XAMPPRocky pushed a commit to XAMPPRocky/octocrab that referenced this pull request Jan 15, 2024
Fixes issue #463.

GitHub REST API endpoints, that use the http POST method, seem to require a `CONTENT-LENGTH` header even if the request body is empty.

This change addresses the issue either by sending an empty JSON document or by explicitly setting the `CONTENT-LENGTH` header as described in following issue:
seanmonstar/reqwest#83

Co-authored-by: Philipp Degler <philipp.degler@sap.com>
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.

1 participant