On Mon, May 25, 2015 at 5:49 PM, Andrei Aprodu via so <[email protected]> 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 _______________________________________________ http://ocw.cs.pub.ro/courses/so/info/lista-discutii
