LWP and socket
am 02.05.2007 00:06:01 von Khai Doan
My code open a socket and talk HTTP/1.1 to a remote web server, but I
notice extra characters in the response, so I use lwp-download
http://www.genius.com/index.html and capture the response with a
packet analyzer (ethereal). The packet analyzer show 1ff8 after the
response header and a 0 at the end of the response. When I look at
the downloaded file, these characters are not there.
I tried this with another web server http://www.webex.com/index.html,
and see the same symptoms. Any idea what these characters are and
what lwp-download does with them?
Re: LWP and socket
am 02.05.2007 19:21:51 von Khai Doan
On May 1, 3:06 pm, Khai Doan wrote:
> My code open a socket and talk HTTP/1.1 to a remote web server, but I
> notice extra characters in the response, so I use lwp-downloadhttp://www.genius.com/index.htmland capture the response with a
> packet analyzer (ethereal). The packet analyzer show 1ff8 after the
> response header and a 0 at the end of the response. When I look at
> the downloaded file, these characters are not there.
>
> I tried this with another web serverhttp://www.webex.com/index.html,
> and see the same symptoms. Any idea what these characters are and
> what lwp-download does with them?
I found my own anwser.