ladjs / superagent

Ajax for Node.js and browsers (JS HTTP client). Maintained for @forwardemail, @ladjs, @spamscanner, @breejs, @cabinjs, and @lassjs.
https://ladjs.github.io/superagent/
MIT License
16.59k stars 1.33k forks source link

Cannot unset Accept-Encoding #1559

Closed dobesv closed 4 years ago

dobesv commented 4 years ago

I was writing a test case for koa-compress where the Accept-Encoding is not set. It uses this library via supertest. However, the library does not allow you to unset Accept-Encoding.

niftylettuce commented 4 years ago

v5.3.0 published to npm and GitHub releases page with changelog