shahzain345/httpz — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a Python package called pyhttpz that people import as httpz. I want it to feel like httpx, but with easy control over the TLS fingerprint a server sees.

A user should be able to create a Client or AsyncClient, send normal GET and POST requests, keep cookies in a session, use proxies, read status codes, headers, text and JSON, and close it safely with with or async with. The special part is that they can pass any JA3 string, pass an Akamai HTTP/2 fingerprint, or choose a browser preset like chrome, firefox, safari, edge, opera, or ios. They should also be able to use impersonate names like chrome131 and have that set the fingerprint and User Agent together.

Use azuretls client underneath through a Go shared library if that is the right way. Include runtime methods to change JA3 and HTTP/2 fingerprints on an existing client. Add tests, examples, and a clear README showing sync and async usage. Look up current docs online if you need to.

Want more depth? Deep Reverse