locked
How to prevent WinJS.xhr() adding a "UA-CPU" HTTP Header to every request RRS feed

  • Question

  • I'm using WinJS.xhr(url) for both GET and POST's. When I inspect the request using Fiddler, I see that it has added a "UA-CPU: AMD64" HTTP header to every request.

    I can add additional custom headers using the 'headers' property.

    I don't see a way remove this header, since it seems like it's baked in to XMLHttpRequest(). Is there any way to remove it?

    Sunday, March 4, 2012 2:01 AM

Answers