Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User-agent doesn't change #25

Closed
rafaelgondim opened this issue Apr 18, 2012 · 6 comments
Closed

User-agent doesn't change #25

rafaelgondim opened this issue Apr 18, 2012 · 6 comments
Assignees
Labels

Comments

@rafaelgondim
Copy link

Setting up the user-agent in the request headers doesn't affect anything

@ghost ghost assigned a85 Apr 20, 2012
@a85
Copy link
Contributor

a85 commented Apr 21, 2012

Unfortunately this is a restriction of the XMLHttpRequest specification - (http://www.w3.org/TR/XMLHttpRequest/#the-setrequestheader-method) which Postman uses. I am going to add a prompt in the interface that these headers can not be set in the next release. Postman is going to support a proxy server in the future through which you can bypass this restriction.

@a85
Copy link
Contributor

a85 commented Apr 30, 2012

You can change the User-Agent now using the Chrome settings. Go inside the web inspector and press the Settings icon in the bottom right. A user-agent setting will come up.

@a85
Copy link
Contributor

a85 commented Jul 25, 2012

Work around for this will be available in the next Postman version using a Twisted proxy. Will put up the details on the Postman wiki.

@thesmart
Copy link

thesmart commented Oct 5, 2012

Kind of a security flaw to go through a 3rd-party Twisted proxy...

@a85
Copy link
Contributor

a85 commented Oct 6, 2012

Hmm. It's a simple script and available here - https://github.com/a85/POSTMan-Chrome-Extension/blob/master/proxy/proxy_server.py. You should only keep this running while you are testing an API with Postman though.

@reggi
Copy link

reggi commented Mar 19, 2013

@a85 Using chrome settings works really well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants