Webrequest Remove encoding from header

  • Thread starter Thread starter Bob
  • Start date Start date
B

Bob

Hi,
I have created a webrequest that is failing at the server because it has
Encoding =UTF-16 in the header. The server people want me to remove the
entry altogether.
I can't see where I have control over that with the WebRequest class.
Any ideas on how this is done?
Thanks
Bob
 
Thus wrote Bob,
Hi,
I have created a webrequest that is failing at the server because it
has
Encoding =UTF-16 in the header. The server people want me to remove
the
entry altogether.
I can't see where I have control over that with the WebRequest class.
Any ideas on how this is done?

The question is how it gets there in the first place. "Encoding" is not a
standard HTTP header.

Cheers,
 
Back
Top