[so] [Tema 5] Problema cu wget
Adrian Stanciu
adrian.stanciu.pub at gmail.com
Mon May 25 18:19:27 EEST 2015
On Mon, May 25, 2015 at 5:49 PM, Andrei Aprodu via so
<so at cursuri.cs.pub.ro> wrote:
> Salut,
>
> Am o problema cu testele bazate pe wget:
> * wget manual merge (fisierul l-am cumparat si cu diff si cu cmp)
> * cu nc GET /path/to/file HTTP/1.0 merge
>
> Totusi, in teste, log-ul de wget arata asta:
> Resolving localhost (localhost)... 127.0.0.1
> Connecting to localhost (localhost)|127.0.0.1|:8888... connected.
> HTTP request sent, awaiting response... Read error (Connection reset
> by peer) in headers.
> Giving up.
>
> In header am:
> * OK / error
> *Conent-Length
> *Content-Type
> * Connection
>
> Nu prea imi dau seama care ar putea fi problema, fac ceva gresit in header?
>
Salut, Ciprian!
Poți să ne dai un exemplu concret de răspuns HTTP trimis de tine? Ai
încheiat răspunsul cu o linie goală? Practic la final va fi un dublu
CRLF.
Adrian
More information about the so
mailing list