in reply to Can't read end data out of a socket
Update: this is a simple suffering from buffering problem. Just turn on auto flushing $| = 1 and you'll see the HTML body.
You got a 302 response which means that the server is redirecting you to another page (see the Location: header line)
I looked at what wget does, and it seems to just stop reading after getting the header. Just look at the stderr output:
After reading the header it sayswget -d http://www.smartadserver.com/call/pubj/445/3197/138/M/52495426 +24/target? 2> /tmp/out
So I don't think there is a body (in spite of the Content-Length: 210 header.)---response end--- 302 Object moved Registered socket 3 for persistent reuse.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Can't read end data out of a socket
by sgifford (Prior) on Jul 02, 2008 at 00:34 UTC | |
Re^2: Can't read end data out of a socket
by pjotrik (Friar) on Jul 01, 2008 at 21:47 UTC |