tags 407526 + moreinfo
thanks

Am Freitag, den 19.01.2007, 21:14 +1300 schrieb Jasen Betts:

Hello Jasen,

> what I did was capture a HTTP response using netcat and then feed it to wget
> using netcat....
> 
> cat capture | nc -lp 8083 &
> wget http://localhost:8083/foo
> 
> netcat didn't successfuly see the end of the file. - I think it may be
> relying on chunk boundaries being aligned with packet boundaries.
> 
> the response I was sending looked like this... (data part abbreviated)
> 
> HTTP/1.1 200 OK
> Date: Thu, 18 Jan 2007 19:42:57 GMT
> Server: Apache Webserver
> X-Powered-By: PHP/4.4.4
> Connection: close
> Transfer-Encoding: chunked
> Content-Type: image/png
> 
> 1d   
> <<0x1d data bytes>>
> 4   
> abcd
> 4   
> abcd
> 1000
> <<0x1000 data bytes>>
> 6   
> etc...
> 0

Can you reproduce this with newer wget versions (latest is 1.11.1 or
with 1.10)?

thx.

-- 
Noèl Köthe <noel debian.org>
Debian GNU/Linux, www.debian.org

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

Reply via email to