Task: Implement HTTP/HTTPS Requests with Gzip/Deflate Compression Handling in Node.js
Task: Implement HTTP/HTTPS Requests with Gzip/Deflate Compression Handling in Node.js: a task in Terminal-Lego-15k (Harbor dataset). Create a Node.js module that makes HTTP/HTTPS requests with full support for gzip and deflate compressed responses, along with cookie handling. The module should…
The task
Create a Node.js module that makes HTTP/HTTPS requests with full support for gzip and deflate compressed responses, along with cookie handling. The module should provide a simple interface for making requests and automatically decompress responses when the server sends compressed content.
Part of PrimeIntellect/Terminal-Lego-15k.