requests icon indicating copy to clipboard operation
requests copied to clipboard

Pass urllib3.SKIP_HEADER when headers should be unset

Open sigmavirus24 opened this issue 4 years ago • 0 comments
trafficstars

urllib3 introduced some default headers and a way to skip them if desired. Let's use that sentinel value to pass along information about Requests' users desire to skip those headers as well.

Closes gh-5671


I'm pretty sure the tests will fail to start with, but wanted to get a sketch of something up for early review

sigmavirus24 avatar Dec 12 '20 17:12 sigmavirus24