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

Update Docs: req.header() is now req.set() #1617

Closed jaller94 closed 2 years ago

jaller94 commented 3 years ago

Hope this helps the next person, including future me, to not fall for this deprecated method again. :smiley:

Great library! Thanks for all the effort that goes into this project!

niftylettuce commented 2 years ago

Released in v7.1.0 to npm

https://github.com/visionmedia/superagent/releases/tag/v7.1.0