treq
treq copied to clipboard
Python requests like API built on top of Twisted's HTTP client.
``` Traceback (most recent call last): File "/home/runner/work/treq/treq/.tox/py39-twisted_latest/lib/python3.9/site-packages/twisted/trial/runner.py", line 596, in loadPackage module = modinfo.load() File "/home/runner/work/treq/treq/.tox/py39-twisted_latest/lib/python3.9/site-packages/twisted/python/modules.py", line 389, in load return self.pathEntry.pythonPath.moduleLoader(self.name) File "/home/runner/work/treq/treq/.tox/py39-twisted_latest/lib/python3.9/site-packages/twisted/python/reflect.py", line 297, in namedAny topLevelPackage...
Fixes #352. httpbin 0.7.0 gets us compatibility with current versions of MarkupSafe, which dropped `soft_unicode` in [version 2.1.0][1]. [werkzeug 2.0.3][2] is the most recent version that includes the deprecated `BaseResponse`...
Fixes #350.
If the collector function throws an exception, that means there is no way to handle remaining body data. In some cases this may actually be a deliberate indication that the...
There are small typos in: - src/treq/test/test_multipart.py Fixes: - Should read `output` rather than `outpute`. - Should read `multipart` rather than `mutltipart`. Semi-automated pull request generated by https://github.com/timgates42/meticulous/blob/master/docs/NOTE.md
This commit adds a fail_for_status method to the Response object analogous to the 'raise_for_status' method in Request, to save users some time writing boilerplate status code checking.
This is basically just #111 cherry-picked with merge conflicts fixed and POST Digest Authentication fixed.
Hey there! I belong to an open source security research community, and a member (@ranjit-git) has found an issue, but doesn’t know the best way to disclose it. If not...