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

This contains changes from https://github.com/twisted/treq/pull/131 , with review comments https://github.com/twisted/treq/pull/131#discussion_r78300154 https://github.com/twisted/treq/pull/131#discussion_r78300154 https://github.com/twisted/treq/pull/131#discussion_r78301644 addressed, e.g. - the digest authentication parameter cache was made bound to `HTTPDigestAuth` object; - low-level header build...

abandoned

If a `DecodedURL` with a username/password in it is passed to a treq API, an error results about encoding a colon character (and the password is removed). (I can followup...

bug

When `treq.get`ting a host that times out from my network, it looks like treq will fail with `ConnectingCancelledError`s, indicating that the deferred was cancelled, instead of failing a bit more...

enhancement

Continuing on #294, which now produces a deprecation warning, treq should raise `TypeError` when passed a dict with non-string header values.

enhancement

As [discussed here](https://github.com/twisted/treq/pull/270#discussion_r392707106): > I was planning to update to say "treq Authors" and list the authors in the LICENSE file as Twisted does. I don't want to do that...

enhancement

Below is a minimal example. Large file uploads are failing on TLS servers while smaller file uploads work as expected. This could be a duplicate of #185, but I'm seeing...

bug

The `treq` dependency on `requests` seems to be causing issues for `Klein` and other packages that depend on `idna` https://twistedmatrix.com/pipermail/twisted-python/2021-February/065444.html

bug

Data produced by an `IBodyProducer` will mostly just sit in a `FakeTransport` buffer (after https://twistedmatrix.com/trac/ticket/9003 is fixed, anyway). It might get delivered somewhere by a manual `pump` call but since...

Sphinx, as run by `tox -e docs`, generates this warning: > /home/runner/work/treq/treq/docs/api.rst:80: WARNING: more than one target found for cross-reference 'request': treq.request, treq.client.HTTPClient.request, treq.testing.treq.testing.StubTreq.request, treq.testing.RequestTraversalAgent.request This warning disappears if [line...

bug