0x676e67/wreq — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a Rust library that feels like an easy HTTP client, but can also make requests that closely match real browser network behavior.

I want users to be able to send normal GET and POST requests, JSON, forms, multipart uploads, cookies, redirects, proxies, custom headers with original casing, and WebSocket upgrades. It should support HTTPS through BoringSSL, HTTP/1 and HTTP/2, custom TLS settings, JA3 and JA4 style fingerprint control, certificate stores, and mTLS. It should also let someone pick a browser or device style profile so their requests match Safari, Chrome, or similar clients as closely as possible.

Please include clean Rust APIs, async examples using Tokio, tests, and a README that shows how to install it, build it, and make a simple request. Keep it modular so people can use middleware and different runtimes later. Look up current Rust docs online if you need to.

Want more depth? Deep Reverse