[so] [Tema5][Linux] Test replies http request

Rares Folea raresfolea97 at gmail.com
Sat May 11 12:35:52 EEST 2019


Buna ziua,

Ma confrunt cu urmatoarea problema.
Am implementat trimiterea fisierelor statice si primesc confirmarea checkerului atat pe masina virtuala de linux cat si pe vmchecker.

Cu toate acestea, testul 13, "Test replies http request” pica pe vmchecker, dar trece cand il testez pe masina virtuala de SO.
De asemenea, nu par a fi probleme nici cand testez manual:

echo -ne "GET /static/small00.dat HTTP/1.1\r\n\r\n" | nc -q 1 localhost 8888



Reply-ul si headerul ajung cu succes:

HTTP/1.1 200 OK
Sat, 11 May 2019 11:14:19 GMT
Server: Apache/2.2.9
Last-Modified: Mon, 06 May 2019 10:00:00 GMT
Accept-Ranges: bytes
Content-Length: 2048
Vary: Accept-Encoding
Connection: close
Content-Type: text/html

R????q??!??&??|%Y??BݮR?yl2??L??hm?O)?/s?8?с???????Ol
[…]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/pipermail/so/attachments/20190511/b5dd0ced/attachment.html>


More information about the so mailing list