forwardemail / forwardemail/superagent
request.agent can't be used after anything that calls Request.prototype.request()
Open
- Dominant language
- JavaScript
- Stars
- 16.6k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
`request.agent` just sets an internal field which request() reads while building the node request. So if you happen to call something (e.g `.set()`) which triggers .request() (which you shouldn't know about since it's internal) then .agent() won't do anything, since the request has already been built.
Contributor guide
Assessment
This issue has not been assessed yet.