More unique IPs than any network on the planet, in the world's largest residential pool. That's Shifter.More unique IPs than any network, in the world's largest pool. That's Shifter.

See the numbers

Python HTTP Clients Fingerprinted: requests vs httpx vs aiohttp vs curl_cffi Behind a Residential Proxy

We captured the TLS and HTTP/2 fingerprints of four Python HTTP clients, directly and through a residential proxy, and compared them with Chrome 158.

Engineering · Updated November 27, 2026 · 7 min read
JA4requestst13d1712h1_…_882dhttpxt13d1712h1_…_8e6eaiohttpt13d1712h1_…_8e6ecurl_cffit13d1517h2_…_cb7b=Chrome 158t13d1517h2_…_cb7b
Only amber curl_cffi with impersonation matched Chrome’s TLS fingerprint. The proxy changed none of them.
Knowledge
On this page
  1. What we measured
  2. The results
  3. Finding 1: the proxy does not touch your fingerprint
  4. Finding 2: standard Python clients announce themselves
  5. Finding 3: impersonation is close, but it lags
  6. Checking your own client
  7. Using each one with a residential proxy
  8. Which client when
  9. How we tested
  10. The bottom line
  11. Sources and references

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

ClientVersionNotes
requests2.34.2On urllib3 2.8.0
httpx0.29.0Default, and with http2=True
aiohttp3.14.5
curl_cffi0.17.0Without impersonation, and with impersonate="chrome"
Chrome158Driven 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

ClientHTTP versionSame TLS as ChromeSame HTTP/2 as ChromeUser-Agent sent
requestsHTTP/1.1NoNo HTTP/2python-requests/2.34.2
httpxHTTP/1.1NoNo HTTP/2python-httpx/0.29.0
httpx, http2=TrueHTTP/2NoNopython-httpx/0.29.0
aiohttpHTTP/1.1NoNo HTTP/2Python/3.11 aiohttp/3.14.5
curl_cffi, no impersonationHTTP/2NoYesNone
curl_cffi, impersonate=“chrome”HTTP/2YesYesChrome 152
Chrome 158HTTP/2Chrome 158

The httpx HTTP/2 row comes from one of the two services; the other closed the connection when httpx tried HTTP/2.

ClientJA4
requestst13d1712h1_ab0a1bf427ad_882d495ac381
httpxt13d1712h1_ab0a1bf427ad_8e6e362c5eac
httpx, http2=Truet13d1712h1_ab0a1bf427ad_8e6e362c5eac
aiohttpt13d1712h1_ab0a1bf427ad_8e6e362c5eac
curl_cffi, no impersonationt13d2712h2_b4f9224df7c1_cbb9361b6bf9
curl_cffi, impersonate=“chrome”t13d1517h2_8daaf6152771_cb7bf5808d99
Chrome 158t13d1517h2_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. httpx and aiohttp produced the identical JA4, because both use Python’s own ssl module; requests differed 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:

  1. Keep the User-Agent consistent with the profile. Do not send a Chrome 158 User-Agent on a Chrome 152 handshake.
  2. Match the platform. The plain chrome152 profile claims Windows; chrome152_macos claims 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

SituationClient
Public APIs, your own services, friendly sitesrequests, httpx or aiohttp
High concurrency without fingerprint checksaiohttp or httpx with async
Sites that block non-browser TLScurl_cffi with impersonation
JavaScript-heavy or behaviour-checking sitesA 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

Frequently asked questions

Does a proxy change your TLS fingerprint?

No. For HTTPS, a standard proxy opens a tunnel and your client performs the TLS handshake with the website directly. In our test, every client produced the same JA4 and HTTP/2 fingerprint through a German residential proxy as it did without one.

Can websites tell that requests or httpx is not a browser?

Yes, easily. requests, httpx and aiohttp all used HTTP/1.1 by default, sent a TLS handshake unlike any browser's, and identified themselves in the User-Agent header. httpx and aiohttp even produced an identical TLS fingerprint, because both use Python's ssl module.

Does curl_cffi really look like Chrome?

Very close. With impersonate set to chrome, its JA4, normalised JA3 and HTTP/2 fingerprint matched Chrome 158 exactly. A stricter fingerprint still differed: Chrome 158 includes a GREASE value in its list of signature algorithms, which curl_cffi's newest Chrome profile, Chrome 152, did not.

Which Python HTTP client should I use for scraping?

Use requests, httpx or aiohttp for APIs and sites that do not check client fingerprints. Use curl_cffi with browser impersonation when a site rejects plain Python clients at the network layer, and a real browser when the site also needs JavaScript.

Ready to get started?

Try Shifter's residential proxies, 205M+ IPs, 195+ countries, from $0.10/GB.

Get Started