python-httpx is software in the HTTP clients and libraries category.
python-httpx is the default user agent of HTTPX, a Python HTTP client. Scripts and services that do not set their own user agent send it.
HTTP clients are programming libraries and command line tools. Developers use them for scripts, integrations and scrapers. Real browsers never send these user agents, so treat them as automated traffic and block them on pages meant for people.
Anyone can copy a user agent string. Transfon Security also checks where each request comes from, so a request that claims to be a known crawler but comes from the wrong network is treated as a fake, not as the real crawler.
We have not confirmed whether python-httpx follows robots.txt. Add a rule, then check your logs to see that it stopped. robots.txt is a plain text file at the root of your domain, such as https://example.com/robots.txt.
User-agent: python-httpx Disallow: /
User-agent: python-httpx Disallow: /private/ Disallow: /search
User-agent: python-httpx Allow: /blog/ Disallow: /
User-agent: python-httpx Allow: / User-agent: * Disallow: /
User-agent: python-httpx group, python-httpx ignores your User-agent: * rules, so repeat any that should still apply.python-httpx from python-httpx's user agent; check the operator's own documentation if it publishes a different robots.txt name.Treat robots.txt as a statement of your policy, and enforce it where requests arrive.
python-httpx is a common tool for scrapers. Real readers never use it, so block it on article pages and keep it out of ad requests.
Transfon Security for publishersTraffic from python-httpx on landing pages is automated. It inflates clicks and visits, so filter it from campaign data and raise it with the ad network.
Transfon Security for advertisersPrice scrapers, stock checkers and card testing scripts often run on python-httpx. Block it on product, cart and checkout pages.
Transfon Security for e-commercepython-httpx is normal for API clients but not for your web app. Allow it only on API routes that need a key, and rate limit it there.
Transfon Security for SaaS and APIsrobots.txt is a request, not an enforcement. Transfon Security shows python-httpx by name in the Top Bots report, so you can see how often it visits and which pages it reads. Block or allow it with a User Agent rule, or slow it down with a rate limit decision rule.
Transfon Security
python-httpx is software in the HTTP clients and libraries category. python-httpx is the default user agent of HTTPX, a Python HTTP client. Scripts and services that do not set their own user agent send it.
We have not confirmed whether python-httpx follows robots.txt. Add a robots.txt rule, then check your logs to see that it stopped, and block it by user agent if it did not.
Add "User-agent: python-httpx" followed by "Disallow: /" to the robots.txt file at the root of your site. To enforce it, block requests whose user agent contains "python-httpx/" at your WAF. In Transfon Security that is one User Agent block rule.
No. robots.txt is voluntary, so python-httpx may not follow it, and anyone can send python-httpx's user agent, so a fake python-httpx ignores your rule. Enforce the rule where requests arrive, at your WAF, and check the source network.
HTTP clients are programming libraries and command line tools. Developers use them for scripts, integrations and scrapers. Real browsers never send these user agents, so treat them as automated traffic and block them on pages meant for people.
Transfon Security identifies every bot in this directory in your traffic reports, flags fake search crawlers, and lets you allow, block or rate limit each bot.
Privacy, security, monetization, and performance insights. A few emails a month, no spam.