$npx skillfedfor your agent

fake-http-header

Generates random request fields for a http request header

With conditionsPyPI WWW/HTTPReleased Oct 2024653.9K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — fake_http_header-0.3.5-py3-none-any.whl
v0.3.5 · released 2024-10-15 · Python >=3.6

Yes, if you need to generate realistic HTTP headers for web scraping or testing. It has no dependencies, installs easily, carries a permissive MIT license, and has modest popularity. The aging maintenance status is a minor concern; verify that its browser and referrer pools remain effective for your use case.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low friction: pure Python wheel with no runtime dependencies.
  • Maintenance is aging—last release was 2024-10-15, though the repository remains unarchived.

License · maintenance · safety

MIT (permissive) — MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.

last release 2024-10-15 (668 days) · last repo commit 2025-07-09 · 44 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 653,930 downloads/mo, #5,532 on PyPI

Verify before relying

pip install fake-http-header

from fake_http_header import FakeHttpHeader

fake_header = FakeHttpHeader()
header_dict = fake_header.as_header_dict()
  • How comprehensive is the pool of browser user agents and referrer domains covered by the package
  • Whether the generated headers pass modern bot-detection systems or are primarily useful for testing
  • Quality and frequency of maintenance relative to changes in real browser header formats
Same gist for agents: .md · .json

What it is and what it does

fake-http-header is a lightweight Python package that generates random HTTP request headers designed to look like they come from real web browsers. It works by mapping browsers to default header values and emulating typical user behavior patterns. The package generates randomized user agents, accept-language fields, accept-encoding, accept types, and referrer URLs that appear plausible together—for instance, if you specify a domain code, it will pair that with matching language preferences and a corresponding referrer.

The primary use case is creating headers for web crawlers and automated HTTP requests. It provides a simple API: instantiate FakeHttpHeader with optional domain parameters, then call as_header_dict() to get a dictionary compatible with standard HTTP libraries. With no external dependencies and support for Python 3.6 and above, it installs and runs with minimal friction.

Use it for

  • Write web scrapers that send realistic browser headers to avoid simple bot-detection filters
  • Test web applications by simulating requests from different geographic regions and browsers
  • Generate plausible HTTP headers for automated testing frameworks that need to mimic real client behavior
  • Populate header fields in security testing scenarios where realistic headers are needed

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need to generate realistic HTTP headers for web scraping or testing.

It has no dependencies, installs easily, carries a permissive MIT license, and has modest popularity. The aging maintenance status is a minor concern; verify that its browser and referrer pools remain effective for your use case.

Install

fake-http-header on PyPI

Before you install

Low friction: pure Python wheel with no runtime dependencies. Maintenance is aging—last release was 2024-10-15, though the repository remains unarchived.

License in practice

MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.

Quickstart

pip install fake-http-header

from fake_http_header import FakeHttpHeader

fake_header = FakeHttpHeader()
header_dict = fake_header.as_header_dict()

Verify before relying

  • How comprehensive is the pool of browser user agents and referrer domains covered by the package
  • Whether the generated headers pass modern bot-detection systems or are primarily useful for testing
  • Quality and frequency of maintenance relative to changes in real browser header formats

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.6
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceAging 668 days since the last release
Last repo commit
First released
Downloads653,930 / month, #5,532 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: fake_http_header-0.3.5-py3-none-any.whl

Tags

Capabilities
random http header generatorfake user agentbrowser header emulationweb scraping headershttp request header faker
Topics
web-scrapingtestinghttp-headers

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “random http header generator”

  • fake-http-headerGenerates realistic-looking HTTP request headers with randomized user…
  • user-agentGenerates random, valid web user agent strings for HTTP headers and…
  • fake-headersGenerates realistic User-Agent strings and HTTP headers locally…

Give your agent the search over MCP, or paste the wish link into any chat.

More WWW/HTTP packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
h11 With conditions
PyPI · WWW/HTTP · released Apr 2025

h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.

MITpure Python · 3.8+aging
894.9Mdownloads / mo
httpx Worth it
PyPI · WWW/HTTP · released Dec 2024

HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.

Install it if you are building new projects or modernizing existing ones that rely on HTTP.

BSD-3-Clausepure Python · 3.8+
797.0Mdownloads / mo
httpcore With conditions
PyPI · WWW/HTTP · released Apr 2025

A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.

BSD-3-Clausepure Python · 3.8+aging
783.6Mdownloads / mo
aiohttp Worth it
PyPI · WWW/HTTP · released Jul 2026

aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.

Install it if you need async HTTP client or server capabilities in asyncio-based applications.

permissive licensecompiled wheel · 3.10+
643.6Mdownloads / mo

See also fake-headers · fake-useragent · browserforge · user-agent · ua-generator · primp · latest-user-agents · uncurl · wrapper-tls-requests · faker-e164