WebRequest Header Question - what are the "---------------: ----- -------" in the header?

  • Thread starter Thread starter Jon
  • Start date Start date
J

Jon

Hi there! I'm trying to duplicate browser functionality in a .net application.
I'm setting the http header attributes (Accept etc) directly to simulate IE and
firefox behavior. Everything is looking good, but when I sniff IE and firefox
headers, they contain text like this below:

-------: ----:------------------------------------------------------------------
------

---------------: ----- -------


Does anyone know what it is (and what it means!) and how to add it?
Thanks for any guidance!
 
That must be an encoding/decoding problem. Did you set your stream to be of
some encoding?
 
Hey, nice one. I was starting to think along them lines (as you can tell from
the fact I'm still working on this, I've been dragged off onto other things for
a while)

I'll check the encoding and see what I can do. Thanks a lot for the pointer.
 
Back
Top