0

I'm trying to set Accept-Encoding: gzip;q=0 in http request.

while I'm trying to set this in my code, it shows,

Refused to set unsafe header "Accept-Encoding"

Can anyone tell me why I'm not able to set header in http request?.

Is there any way to set this header?

Thanks in Advance

0 Answers0