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

Don't combine nobody with upload #216

Merged
merged 1 commit into from
Jul 28, 2020
Merged

Don't combine nobody with upload #216

merged 1 commit into from
Jul 28, 2020

Conversation

sagebind
Copy link
Owner

Based on feedback from Stenberg himself in curl/curl#5717, it doesn't really make much sense to set both nobody and upload on the same request in order to fulfill weird HEAD requests with a request body. Change (and simplify) to use nobody for normal HEAD requests, and upload + customrequest otherwise.

Based on feedback from Stenberg himself, it doesn't really make much sense to set both `nobody` _and_ `upload` on the same request in order to fulfill weird HEAD requests with a request body. Change (and simplify) to use `nobody` for normal HEAD requests, and `upload` + `customrequest` otherwise.
@codecov
Copy link

codecov bot commented Jul 28, 2020

Codecov Report

Merging #216 into master will decrease coverage by 0.03%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #216      +/-   ##
==========================================
- Coverage   70.00%   69.97%   -0.04%     
==========================================
  Files          33       33              
  Lines        1867     1865       -2     
==========================================
- Hits         1307     1305       -2     
  Misses        560      560              
Impacted Files Coverage Δ
src/client.rs 62.02% <100.00%> (-0.32%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 212c276...b090394. Read the comment docs.

@sagebind sagebind merged commit e1d0e2b into master Jul 28, 2020
@sagebind sagebind deleted the heads-with-bodies branch July 28, 2020 04:36
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