How to set the user agent ? #44

Closed
level09 opened this Issue Jul 1, 2011 · 2 comments

Comments

Projects
None yet
2 participants

level09 commented Jul 1, 2011

many sites like wikipedia will block the request if the user agent is not set. is there a way to set the user agent ?

Owner

mikeal commented Jul 1, 2011

request({headers:{'user-agent':'blah'}})
we should have a default one tho. log a ticket.

level09 commented Jul 1, 2011

Great Thanks

@level09 level09 closed this Jul 1, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment