title: JQuery Ajax Request: Change User-Agent
body: <p>I'm using JQuery to issue an AJAX request to my own Webservice. I need to set or modify the <code>User-Agent</code> HTTP-Header for the HTTP-AJAX-Request, how can I do this the easiest way?</p>
  <p>I tried the hint provided by some users to use the <code>setRequestHeader</code> Method to set the <code>User-Agent</code>, but this does not work. It does in fact work for other newly created headers (like <code>X-Test-Header</code>) but it does not work for <code>User-Agent</code>.</p>