Every HTTPS request carries two identities. One is your IP address, which a residential proxy changes. The other is your client’s fingerprint: how it opens the TLS connection and, for HTTP/2, how it configures the connection. A proxy cannot change that, and websites can read it before your request even arrives. We captured the fingerprints of four popular Python HTTP clients, directly and through a residential proxy, and compared them with real Chrome. Our guide to TLS and HTTP/2 fingerprinting explains the concepts; this post shows the measurements.
What we measured
| Client | Version | Notes |
|---|---|---|
| requests | 2.34.2 | On urllib3 2.8.0 |
| httpx | 0.29.0 | Default, and with http2=True |
| aiohttp | 3.14.5 | |
| curl_cffi | 0.17.0 | Without impersonation, and with impersonate="chrome" |
| Chrome | 158 | Driven by Playwright, as the reference |
Each client fetched two public fingerprint services, tls.peet.ws and BrowserLeaks’ TLS endpoint, once directly and once through a sticky German residential session. We recorded the HTTP version, the JA4 TLS fingerprint, the normalised JA3, the Akamai HTTP/2 fingerprint and the User-Agent header.
The results
| Client | HTTP version | Same TLS as Chrome | Same HTTP/2 as Chrome | User-Agent sent |
|---|---|---|---|---|
| requests | HTTP/1.1 | No | No HTTP/2 | python-requests/2.34.2 |
| httpx | HTTP/1.1 | No | No HTTP/2 | python-httpx/0.29.0 |
| httpx, http2=True | HTTP/2 | No | No | python-httpx/0.29.0 |
| aiohttp | HTTP/1.1 | No | No HTTP/2 | Python/3.11 aiohttp/3.14.5 |
| curl_cffi, no impersonation | HTTP/2 | No | Yes | None |
| curl_cffi, impersonate=“chrome” | HTTP/2 | Yes | Yes | Chrome 152 |
| Chrome 158 | HTTP/2 | Chrome 158 |
The httpx HTTP/2 row comes from one of the two services; the other closed the connection when httpx tried HTTP/2.
| Client | JA4 |
|---|---|
| requests | t13d1712h1_ab0a1bf427ad_882d495ac381 |
| httpx | t13d1712h1_ab0a1bf427ad_8e6e362c5eac |
| httpx, http2=True | t13d1712h1_ab0a1bf427ad_8e6e362c5eac |
| aiohttp | t13d1712h1_ab0a1bf427ad_8e6e362c5eac |
| curl_cffi, no impersonation | t13d2712h2_b4f9224df7c1_cbb9361b6bf9 |
| curl_cffi, impersonate=“chrome” | t13d1517h2_8daaf6152771_cb7bf5808d99 |
| Chrome 158 | t13d1517h2_8daaf6152771_cb7bf5808d99 |
Finding 1: the proxy does not touch your fingerprint
Every client produced the same JA4, normalised JA3 and HTTP/2 fingerprint with and without the proxy. That is how HTTPS proxies work: the client sends a CONNECT request, the proxy opens a tunnel, and the TLS handshake happens between your client and the website. The proxy sees encrypted bytes, not a handshake it could change.
Only the raw JA3 hash changed between runs, for Chrome and for curl_cffi’s Chrome profile alike. Chrome shuffles the order of its TLS extensions on every connection, which is exactly why JA4 and normalised JA3 sort them before hashing.
The practical point: a residential IP fixes the network address, not the client. If a site blocks your client’s fingerprint, changing proxies will not help.
Finding 2: standard Python clients announce themselves
requests, httpx and aiohttp all failed to look like a browser in three ways at once:
- HTTP/1.1 by default. Browsers use HTTP/2 for almost every HTTPS site.
- A Python-style TLS handshake. 17 cipher suites against Chrome’s 15, and a different set of extensions.
httpxandaiohttpproduced the identical JA4, because both use Python’s ownsslmodule;requestsdiffered only in its extension list. - An honest User-Agent. Each one names itself unless you override it.
Overriding the User-Agent fixes the easiest signal and creates a new one: a header claiming to be Chrome on a connection that is clearly Python. Turning on HTTP/2 in httpx did not help either. Its TLS handshake still offered HTTP/1.1 first, which shows in the JA4, and its HTTP/2 settings produced a different Akamai fingerprint from Chrome’s.
Finding 3: impersonation is close, but it lags
With impersonate="chrome", curl_cffi matched Chrome 158 on JA4, normalised JA3 and the HTTP/2 fingerprint. That is what most fingerprinting systems check, and it is a big step up from any standard client.
It was not identical, though. A stricter fingerprint, peetprint, still differed, and when we compared the raw strings the only difference was one value: Chrome 158 puts a GREASE placeholder at the start of its signature algorithms list, and curl_cffi’s profile does not. The newest Chrome profile in curl_cffi 0.17 is Chrome 152, six versions behind, and its User-Agent says so. Two practical rules follow:
- Keep the User-Agent consistent with the profile. Do not send a Chrome 158 User-Agent on a Chrome 152 handshake.
- Match the platform. The plain
chrome152profile claims Windows;chrome152_macosclaims macOS with the same TLS fingerprint.
curl_cffi without impersonation is its own thing: an HTTP/2 client whose HTTP/2 settings already matched Chrome’s, but whose TLS handshake is unmistakably curl, and which sends no User-Agent at all.
Checking your own client
Fingerprints change with library versions, Python builds and operating systems, so the table above is a snapshot, not a guarantee. Checking your own setup takes a minute: send one request through your proxy to a fingerprint service, then open the same service in a current Chrome and compare the JA4 and HTTP/2 hashes. If you use impersonation, upgrade the library regularly, since new browser profiles arrive in new releases, and re-check after every upgrade.
Using each one with a residential proxy
requests, httpx and aiohttp are the right tools for APIs and for sites that do not check fingerprints. With a Shifter sticky session:
import httpx
proxy = "http://customer-USERNAME-country-de-sid-job42-ttl-600:PASSWORD@p.shifter.io:443"
with httpx.Client(proxy=proxy, timeout=30) as client:
r = client.get("https://api.example.com/items")
curl_cffi for sites that reject plain Python clients at the network layer:
from curl_cffi import requests
proxy = "http://customer-USERNAME-country-de-sid-job42-ttl-600:PASSWORD@p.shifter.io:443"
r = requests.get(
"https://shop.example.com/product/123",
impersonate="chrome152_macos",
proxies={"http": proxy, "https": proxy},
timeout=30,
)
A real browser when the site also needs JavaScript or checks how the page behaves, not just how the connection looks. Our stealth browser benchmark compares the options, and our guide to residential proxies in Python covers sessions and rotation in more depth.
Which client when
| Situation | Client |
|---|---|
| Public APIs, your own services, friendly sites | requests, httpx or aiohttp |
| High concurrency without fingerprint checks | aiohttp or httpx with async |
| Sites that block non-browser TLS | curl_cffi with impersonation |
| JavaScript-heavy or behaviour-checking sites | A real browser, such as Playwright |
Whatever you use, test the fingerprint you actually send, not the one you think you send. The two services we used take seconds to query, and our fingerprint and IP consistency audit covers the browser side. For the hardest targets, our guide to scraping heavily protected sites brings the layers together.
How we tested
On 27 November 2026 we ran each client from an Intel Mac mini with macOS 15.8, using Python 3.11 for the HTTP clients and Chrome 158 through Playwright 1.60 as the reference. Each client requested tls.peet.ws/api/all and tls.browserleaks.com/json, once directly and once through a sticky Shifter residential session in Germany. We recorded the fingerprint fields each service reported and discarded the IP address fields. To find the remaining difference between curl_cffi and Chrome, we compared the full peetprint strings field by field.
The bottom line
A residential proxy changes where a request comes from, not what made it. Standard Python clients identify themselves through HTTP/1.1, a Python-style TLS handshake and their User-Agent, and the proxy passes all of it through untouched. curl_cffi’s Chrome impersonation matched real Chrome on JA4, normalised JA3 and HTTP/2, but trailed the current Chrome by six versions and one GREASE value. Pick the client for the target, keep every header consistent with the fingerprint, and measure what you send.
Sources and references
- tls.peet.ws, TLS and HTTP/2 fingerprint API: tls.peet.ws
- BrowserLeaks, TLS client test: browserleaks.com
- FoxIO, JA4+ fingerprinting: github.com
- curl_cffi documentation: curl-cffi.readthedocs.io
- HTTPX, HTTP/2 support: python-httpx.org
- aiohttp, client reference: docs.aiohttp.org
- IETF, RFC 8701, Applying GREASE to TLS extensibility: rfc-editor.org
- IETF, RFC 9110, HTTP Semantics, CONNECT method: rfc-editor.org