Thank you for this brief reference. I'm always going back to my old projects to remind myself how I did things with requests. I didn't realize some of things existed.
You're welcome. I thought I'd aggregate all the useful tricks I'd found while working on my last project. It's a collection of snippets I had found in the docs and in Github issues.
The post contains the most important snippets, but you might find the advanced section of the requests docs [1] useful and the requests_toolbelt [2].
The post contains the most important snippets, but you might find the advanced section of the requests docs [1] useful and the requests_toolbelt [2].
[1] https://requests.readthedocs.io/en/master/user/advanced/
[2] https://toolbelt.readthedocs.io/en/latest/