treq icon indicating copy to clipboard operation
treq copied to clipboard

Python requests like API built on top of Twisted's HTTP client.

Results 77 treq issues
Sort by recently updated
recently updated
newest added

``` 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...

bug

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`...

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...

bug

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.

abandoned

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...

question