forwardemail / forwardemail/superagent

request.agent can't be used after anything that calls Request.prototype.request()

Open
#783 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.