{
  "dataset": "Default HTTP request headers by client",
  "article": "https://proxy.wiki/research/default-request-headers/",
  "collected": "2026-08-29",
  "collected_utc": "2026-08-29T20:09Z",
  "platform": "macOS",
  "method": "A raw TCP listener on 127.0.0.1:8799 read each request up to the end of the header block and stored the bytes verbatim. Each client made one plain GET /probe over HTTP/1.1 with no options. The browser row is one top-level navigation.",
  "sample": "10 clients (9 libraries, 1 Chromium browser), one request each on 2026-08-29. Repeat check on 2026-10-21: 5 requests from each of the 9 libraries.",
  "repeat_check": {
    "date": "2026-10-21",
    "requests_per_client": 5,
    "clients": 9,
    "requests": 45,
    "versions": "curl 8.7.1, GNU Wget 1.25.0, Python 3.9.6 (urllib, requests 2.32.3, httpx 0.27.2), Node 24.2.0, Go 1.24.4, PHP 8.5.11",
    "result": "Each library produced one header order across its 5 requests, and every header block was byte-identical to the 2026-08-29 capture. The browser was not repeated."
  },
  "order_override_check": {
    "date": "2026-10-21",
    "method": "One request per client passing the browser's nine non-Host, non-Connection headers in the browser's order (Upgrade-Insecure-Requests, User-Agent, Accept, Sec-Fetch-Site, Sec-Fetch-Mode, Sec-Fetch-User, Sec-Fetch-Dest, Accept-Encoding, Accept-Language). Values were simplified; only the order was compared.",
    "header_order_sent": {
      "python-requests 2.32.3": "Host | User-Agent | Accept-Encoding | Accept | Connection | Upgrade-Insecure-Requests | Sec-Fetch-Site | Sec-Fetch-Mode | Sec-Fetch-User | Sec-Fetch-Dest | Accept-Language",
      "python-httpx 0.27.2": "Host | Connection | Upgrade-Insecure-Requests | User-Agent | Accept | Sec-Fetch-Site | Sec-Fetch-Mode | Sec-Fetch-User | Sec-Fetch-Dest | Accept-Encoding | Accept-Language",
      "curl 8.7.1": "Host | Upgrade-Insecure-Requests | User-Agent | Accept | Sec-Fetch-Site | Sec-Fetch-Mode | Sec-Fetch-User | Sec-Fetch-Dest | Accept-Encoding | Accept-Language"
    },
    "result": "requests kept its own default positions and appended the rest; httpx matched the browser's order exactly; curl followed the given order and sent no Connection header."
  },
  "summary": {
    "library_header_count_median": 4,
    "library_header_count_min": 2,
    "library_header_count_max": 7,
    "browser_header_count": 11,
    "distinct_header_orders": 9,
    "clients": 10
  },
  "licence": "CC BY 4.0",
  "licence_url": "https://creativecommons.org/licenses/by/4.0/",
  "attribution": "proxy.wiki",
  "null_means": "An empty cell (null in JSON) in a header-value column means the client did not send that header.",
  "columns": [
    "client",
    "kind",
    "request_line",
    "header_count",
    "header_order",
    "header_name_case",
    "sends_user_agent",
    "user_agent",
    "accept",
    "accept_encoding",
    "accept_language",
    "connection",
    "sec_fetch_headers_sent",
    "raw_headers"
  ],
  "rows": [
    {
      "client": "curl 8.7.1",
      "kind": "library",
      "request_line": "GET /probe HTTP/1.1",
      "header_count": 3,
      "header_order": "Host | User-Agent | Accept",
      "header_name_case": "canonical",
      "sends_user_agent": true,
      "user_agent": "curl/8.7.1",
      "accept": "*/*",
      "accept_encoding": null,
      "accept_language": null,
      "connection": null,
      "sec_fetch_headers_sent": 0,
      "raw_headers": [
        "Host: 127.0.0.1:8799",
        "User-Agent: curl/8.7.1",
        "Accept: */*"
      ]
    },
    {
      "client": "GNU wget 1.25.0",
      "kind": "library",
      "request_line": "GET /probe HTTP/1.1",
      "header_count": 5,
      "header_order": "Host | User-Agent | Accept | Accept-Encoding | Connection",
      "header_name_case": "canonical",
      "sends_user_agent": true,
      "user_agent": "Wget/1.25.0",
      "accept": "*/*",
      "accept_encoding": "identity",
      "accept_language": null,
      "connection": "Keep-Alive",
      "sec_fetch_headers_sent": 0,
      "raw_headers": [
        "Host: 127.0.0.1:8799",
        "User-Agent: Wget/1.25.0",
        "Accept: */*",
        "Accept-Encoding: identity",
        "Connection: Keep-Alive"
      ]
    },
    {
      "client": "python-requests 2.32.3",
      "kind": "library",
      "request_line": "GET /probe HTTP/1.1",
      "header_count": 5,
      "header_order": "Host | User-Agent | Accept-Encoding | Accept | Connection",
      "header_name_case": "canonical",
      "sends_user_agent": true,
      "user_agent": "python-requests/2.32.3",
      "accept": "*/*",
      "accept_encoding": "gzip, deflate, br, zstd",
      "accept_language": null,
      "connection": "keep-alive",
      "sec_fetch_headers_sent": 0,
      "raw_headers": [
        "Host: 127.0.0.1:8799",
        "User-Agent: python-requests/2.32.3",
        "Accept-Encoding: gzip, deflate, br, zstd",
        "Accept: */*",
        "Connection: keep-alive"
      ]
    },
    {
      "client": "python-urllib 3.9",
      "kind": "library",
      "request_line": "GET /probe HTTP/1.1",
      "header_count": 4,
      "header_order": "Accept-Encoding | Host | User-Agent | Connection",
      "header_name_case": "canonical",
      "sends_user_agent": true,
      "user_agent": "Python-urllib/3.9",
      "accept": null,
      "accept_encoding": "identity",
      "accept_language": null,
      "connection": "close",
      "sec_fetch_headers_sent": 0,
      "raw_headers": [
        "Accept-Encoding: identity",
        "Host: 127.0.0.1:8799",
        "User-Agent: Python-urllib/3.9",
        "Connection: close"
      ]
    },
    {
      "client": "python-httpx 0.27.2",
      "kind": "library",
      "request_line": "GET /probe HTTP/1.1",
      "header_count": 5,
      "header_order": "Host | Accept | Accept-Encoding | Connection | User-Agent",
      "header_name_case": "canonical",
      "sends_user_agent": true,
      "user_agent": "python-httpx/0.27.2",
      "accept": "*/*",
      "accept_encoding": "gzip, deflate, br, zstd",
      "accept_language": null,
      "connection": "keep-alive",
      "sec_fetch_headers_sent": 0,
      "raw_headers": [
        "Host: 127.0.0.1:8799",
        "Accept: */*",
        "Accept-Encoding: gzip, deflate, br, zstd",
        "Connection: keep-alive",
        "User-Agent: python-httpx/0.27.2"
      ]
    },
    {
      "client": "Node 24.2.0 global fetch",
      "kind": "library",
      "request_line": "GET /probe HTTP/1.1",
      "header_count": 7,
      "header_order": "host | connection | accept | accept-language | sec-fetch-mode | user-agent | accept-encoding",
      "header_name_case": "lowercase",
      "sends_user_agent": true,
      "user_agent": "node",
      "accept": "*/*",
      "accept_encoding": "gzip, deflate",
      "accept_language": "*",
      "connection": "keep-alive",
      "sec_fetch_headers_sent": 1,
      "raw_headers": [
        "host: 127.0.0.1:8799",
        "connection: keep-alive",
        "accept: */*",
        "accept-language: *",
        "sec-fetch-mode: cors",
        "user-agent: node",
        "accept-encoding: gzip, deflate"
      ]
    },
    {
      "client": "Node 24.2.0 node:http",
      "kind": "library",
      "request_line": "GET /probe HTTP/1.1",
      "header_count": 2,
      "header_order": "Host | Connection",
      "header_name_case": "canonical",
      "sends_user_agent": false,
      "user_agent": null,
      "accept": null,
      "accept_encoding": null,
      "accept_language": null,
      "connection": "keep-alive",
      "sec_fetch_headers_sent": 0,
      "raw_headers": [
        "Host: 127.0.0.1:8799",
        "Connection: keep-alive"
      ]
    },
    {
      "client": "Go 1.24 net/http",
      "kind": "library",
      "request_line": "GET /probe HTTP/1.1",
      "header_count": 3,
      "header_order": "Host | User-Agent | Accept-Encoding",
      "header_name_case": "canonical",
      "sends_user_agent": true,
      "user_agent": "Go-http-client/1.1",
      "accept": null,
      "accept_encoding": "gzip",
      "accept_language": null,
      "connection": null,
      "sec_fetch_headers_sent": 0,
      "raw_headers": [
        "Host: 127.0.0.1:8799",
        "User-Agent: Go-http-client/1.1",
        "Accept-Encoding: gzip"
      ]
    },
    {
      "client": "PHP file_get_contents",
      "kind": "library",
      "request_line": "GET /probe HTTP/1.1",
      "header_count": 2,
      "header_order": "Host | Connection",
      "header_name_case": "canonical",
      "sends_user_agent": false,
      "user_agent": null,
      "accept": null,
      "accept_encoding": null,
      "accept_language": null,
      "connection": "close",
      "sec_fetch_headers_sent": 0,
      "raw_headers": [
        "Host: 127.0.0.1:8799",
        "Connection: close"
      ]
    },
    {
      "client": "Chromium navigation",
      "kind": "browser",
      "request_line": "GET /probe HTTP/1.1",
      "header_count": 11,
      "header_order": "Host | Connection | Upgrade-Insecure-Requests | User-Agent | Accept | Sec-Fetch-Site | Sec-Fetch-Mode | Sec-Fetch-User | Sec-Fetch-Dest | Accept-Encoding | Accept-Language",
      "header_name_case": "canonical",
      "sends_user_agent": true,
      "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Claude/1.40609.0 Chrome/148.0.7778.280 Safari/537.36",
      "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7",
      "accept_encoding": "gzip, deflate, br, zstd",
      "accept_language": "en-GB",
      "connection": "keep-alive",
      "sec_fetch_headers_sent": 4,
      "raw_headers": [
        "Host: 127.0.0.1:8799",
        "Connection: keep-alive",
        "Upgrade-Insecure-Requests: 1",
        "User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Claude/1.40609.0 Chrome/148.0.7778.280 Safari/537.36",
        "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7",
        "Sec-Fetch-Site: none",
        "Sec-Fetch-Mode: navigate",
        "Sec-Fetch-User: ?1",
        "Sec-Fetch-Dest: document",
        "Accept-Encoding: gzip, deflate, br, zstd",
        "Accept-Language: en-GB"
      ]
    }
  ]
}
