requests icon indicating copy to clipboard operation
requests copied to clipboard

A simple, yet elegant, HTTP library.

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

When using RequestsCookieJar to set a cookie with an empty string ('') or 0 as the value, it cannot be retrieved properly afterward. ## Expected Result It can be retrieved...

fix(utils): correct Content-Length for io.StringIO bodies (#6917) - Add special handling for io.StringIO in super_len() function - Calculate byte length by encoding StringIO content as UTF-8 - Preserve stream position...

It would be good to have an option to retrieve the peer's TLS certificate after a request is performed. For example, this is what libcurl provides with [CURLINFO_CERTINFO](https://curl.haxx.se/libcurl/c/CURLINFO_CERTINFO.html). There's a...

Hi, I just [wasted two hours](https://notes.sklein.xyz/2025-07-17_1544/) because it seems that the [POST Multiple Multipart-Encoded Files](https://requests.readthedocs.io/en/latest/user/advanced/#post-multiple-multipart-encoded-files) function does not work if a `Content-Type` has been previously defined at the session level....

Breaking API Change

When there is a semicolon (`;`) in the request URL path, and when doing HTTP Digest Authentication, `requests` incorrectly fills the `uri` field of the `Authorization` header by ignoring the...

Every time `ok` is used it feels like it should be essentially free, but it's not as it goes through `raise_for_status` which does a bunch of preparatory work to manage...

I have noticed that cookies passed directly (no session) behave strangely. When passed as the `cookie` argument, cookies are persisted after all redirects (even cross-domain and when expired explicitly). When...

When using requests with the http_proxy environment variable set, and explicitly passing `proxies={'http': None, 'https': None}` to bypass the proxy, the first request correctly avoids using the proxy. However, if...