You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
request from defaults() method ignores options argument in some cases.
varrequest=require('requestretry').defaults({headers: {'User-Agent': 'default UA'}});// OKrequest('https://github.com/',function(err,response,body){});// NOT OK - Referer header is not sentrequest('https://github.com/',{headers: {Referer: 'https://www.apple.com/'}},function(err,response,body){});// OKrequest({url: 'https://github.com/',headers: {Referer: 'https://www.apple.com/'}},function(err,response,body){});// OKrequest.get('https://github.com/',{headers: {Referer: 'https://www.apple.com/'}},function(err,response,body){});
The text was updated successfully, but these errors were encountered:
axfree
changed the title
request from defaults() method ignores default options in some cases.
request from defaults() method ignores options in some cases.
Oct 9, 2018
axfree
changed the title
request from defaults() method ignores options in some cases.
request from defaults() method ignores options argument in some cases.
Oct 9, 2018
request from defaults() method ignores options argument in some cases.
The text was updated successfully, but these errors were encountered: