Skip to main content

Generates random HTTP headers for requests

Project description

randomheader

Generates random HTTP headers for requests

install

pip install randomheader

usage

from randomheader import RandomHeader

rh = RandomHeader()

print(rh.header())

example header

{
    "Connection": "keep-alive",
    "Accept-Encoding": "gzip, deflate, br",
    "Accept-Language": "en-GB,en-US;q=0.9,en;q=0.8",
    "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8",
    "X-Forwarded-For": "16.64.120.135",
    "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/601.1.56 (KHTML, like Gecko) Version/9.0 Safari/601.1.56",
    "Dnt": "0",
    "Upgrade-Insecure-Requests": "1",
    "Referer": "https://bild.de/"
 }

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

randomheader-0.3.tar.gz (18.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

randomheader-0.3-py3-none-any.whl (18.9 kB view details)

Uploaded Python 3

File details

Details for the file randomheader-0.3.tar.gz.

File metadata

  • Download URL: randomheader-0.3.tar.gz
  • Upload date:
  • Size: 18.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.27.1

File hashes

Hashes for randomheader-0.3.tar.gz
Algorithm Hash digest
SHA256 146da8bbcb80ee9f47ec25e42010a0bde7480e6b390e18825d6ba87030bd1499
MD5 a1f3d3a3d45b242769fb3794cb0cd2fe
BLAKE2b-256 602eb5593e573d6f3fb739be902ba74100ae946e2957460a47c97b587d576523

See more details on using hashes here.

File details

Details for the file randomheader-0.3-py3-none-any.whl.

File metadata

  • Download URL: randomheader-0.3-py3-none-any.whl
  • Upload date:
  • Size: 18.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.27.1

File hashes

Hashes for randomheader-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2c2756a495dde4b5c00a26e64e05b7c325fa903238157934e8c475565c455ba7
MD5 b4ea8343a9524d9784df1f81dab08d5e
BLAKE2b-256 c542e7585534e3eb23fb403b43f402da3192a4645a7c3e4e3ece3be6d956b7a6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page