requests icon indicating copy to clipboard operation
requests copied to clipboard

A simple, yet elegant, HTTP library.

Results 212 requests issues
Sort by recently updated
recently updated
newest added

We encountered a bug today wherein we mistakenly assumed it was already supported as an attribute like all the other kwargs, https://github.com/DataDog/integrations-core/pull/4811

Comply to RFC8288 for relation type (section 3.3) https://tools.ietf.org/html/rfc8288#section-3.3 Changes: - Only parse first "rel" parameter - Allow multiple link relation types, i.e. rel="start http://example.net/relation/other"

## Issue: When URI contains IPv6 link local with zone index (Ex: fe80::726f:8a26:222a:2bf3%eth0), requote_uri encodes all % to %25. Because of it, requests.get was requesting different resource. Screenshot: ![image](https://user-images.githubusercontent.com/1691611/68458332-8b76fd80-0228-11ea-9c6f-8e439f257180.png) I'm...

Errors raised by `Response.iter_content` did not have request/response context. I couldn't figure out how to simulate `StreamConsumedError` or `ConnectionError` as raised from that context, and I could not find any...

Any reason for not using monotonic clock on recent Python on Unix platforms?

Fixes #4391 # Problem This code was failing to verify the SSL: ```python def test_session_verify_not_stateful(self): insecure_url = "https://expired.badssl.com/" s = requests.Session() assert s.verify is True with pytest.raises(Exception): s.get(insecure_url, verify=True) s.get(insecure_url,...

Issue #4613 details two problems : * proxy may contain white-space accidentally * proxy may be contain extra double-quotes on Windows A fix already exists for the white-space problem, this...

Semicolons are valid characters in URIs, splitting them while parsing the `Link` header results in unexpected token and wrong `url` attribute (notice `;oldid=934259284` portion the below example). ``` ; rel="original",...

Since JSON RFC 7158 (and also in 7159 and 8259) scalar values are also valid JSON texts. The json decoder from the Python standard libs also accepts such scalar values....