For Programmers: Free Programming Magazines  


Home > Archive > PERL Modules > May 2007 > LWP and socket









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author LWP and socket
Khai Doan

2007-05-01, 9:58 pm

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?

Khai Doan

2007-05-02, 6:58 pm

On May 1, 3:06 pm, Khai Doan <khaibri...@gmail.com> 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.

Abder10

2007-05-10, 7:50 pm

http://Celine-Dion-facestanding-mov...hp?movie=148803
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com