Quantcast
Channel: WE MOVED to github.com/microsoft/cpprestsdk. This site is not monitored!
Viewing all articles
Browse latest Browse all 4845

New Post: Cannot set Accept-Encoding

$
0
0
Hi Ryan,

It is the limitation of IXMLHttpRequest2. I saw your post on Stackoverflow, you have already tried XHR_PROP_NO_DEFAULT_HEADERS property.
I tried this 'handle->SetProperty(XHR_PROP_NO_DEFAULT_HEADERS, 1);' but it did not remove Accept-Encoding: gzip, deflate from the headers. – rmmcnulty9 Mar 7 at 14:48
"Accept-Encoding" is one of the restricted headers which cannot be changed.

Thanks

Viewing all articles
Browse latest Browse all 4845

Trending Articles