Content-Type: text/html Content-Length: 4135 1. slow test result: { "class":"file", "name":"nph-379.pl", "size":20, "mode":"text", "content-type":"text\/plain", "tables":{ "CONTENT-TYPE":[ {"value":"text\/plain"} ], "SOME HEADER":[ {"value":"value"} ] }, "CONTENT-TYPE":"text\/plain", "SOME HEADER":"value", "status":200, "text":"body\nbody continues\n" } 2. valid-content-length test result: { "class":"file", "name":"nph-379.pl", "size":105, "mode":"text", "content-type":"text\/plain", "tables":{ "CONTENT-TYPE":[ {"value":"text\/plain"} ], "CONTENT-LENGTH":[ {"value":"5"} ] }, "CONTENT-TYPE":"text\/plain", "CONTENT-LENGTH":"5", "status":200, "text":"body\n...................................................................................................." } 3. invalid-content-length test result: Exception type: parser.runtime, Source: http://www.parser.ru/_/tests/nph-379.pl?invalid-content-length, Comment: content size of 10000000000 bytes exceeds the limit (536870912 bytes) 4. empty-body test result: { "class":"file", "name":"nph-379.pl", "size":0, "mode":"text", "content-type":"text\/plain", "tables":{ "CONTENT-TYPE":[ {"value":"text\/plain"} ] }, "CONTENT-TYPE":"text\/plain", "status":200, "text":"" } 4-win. empty-body-win test result: { "class":"file", "name":"nph-379.pl", "size":0, "mode":"text", "content-type":"text\/plain", "tables":{ "CONTENT-TYPE":[ {"value":"text\/plain"} ] }, "CONTENT-TYPE":"text\/plain", "status":200, "text":"" } 5. null-body test result: { "class":"file", "name":"nph-379.pl", "size":0, "mode":"text", "content-type":"text\/plain", "tables":{ "CONTENT-TYPE":[ {"value":"text\/plain"} ] }, "CONTENT-TYPE":"text\/plain", "status":200, "text":"" } 6. empty-headers test result: { "class":"file", "name":"nph-379.pl", "size":5, "mode":"text", "content-type":"application\/octet-stream", "tables":{}, "status":200, "text":"body\n" } 6-win. empty-headers-win test result: { "class":"file", "name":"nph-379.pl", "size":5, "mode":"text", "content-type":"application\/octet-stream", "tables":{}, "status":200, "text":"body\n" } 6-win. empty-headers-win test result: { "class":"file", "name":"nph-379.pl", "size":6, "mode":"binary", "content-type":"application\/octet-stream", "tables":{}, "status":200, "text":"body\r\n" } 7. null-headers test result: { "class":"file", "name":"nph-379.pl", "size":0, "mode":"text", "content-type":"application\/octet-stream", "tables":{}, "status":200, "text":"" } 7.1 bad-headers test result: Exception type: http.response, Source: http://www.parser.ru/_/tests/nph-379.pl?bad-headers, Comment: bad response from host - bad header ":value" 7.2 bad-cookies test result: { "class":"file", "name":"nph-379.pl", "size":5, "mode":"text", "content-type":"text\/plain", "tables":{ "CONTENT-TYPE":[ {"value":"text\/plain"} ], "SET-COOKIE":[ {"value":"no-value"} ] }, "CONTENT-TYPE":"text\/plain", "SET-COOKIE":"no-value", "cookies":[ {"name":"no-value","value":"","expires":"","max-age":"","domain":"","path":"","httponly":"","secure":""} ], "status":200, "text":"body\n" } 8. invalid-status test result: Exception type: number.format, Source: http://www.parser.ru/_/tests/nph-379.pl?invalid-status, Comment: 'bad' is an invalid number (int) for HTTP status 9. no-status-1 test result: Exception type: http.status, Source: HTTP/1.0 OK, Comment: invalid HTTP response status 10. no-status-2 test result: Exception type: http.status, Source: HTTP/1.0 OK, Comment: invalid HTTP response status 11. no-status-3 test result: Exception type: http.status, Source: HTTP/1.0, Comment: invalid HTTP response status 12. strange-status test result: Exception type: number.format, Source: http://www.parser.ru/_/tests/nph-379.pl?strange-status, Comment: '200OK?' is an invalid number (int) for HTTP status 13. strange-content-length-1 test result: Exception type: number.format, Source: http://www.parser.ru/_/tests/nph-379.pl?strange-content-length-1, Comment: '-1' is out if range (negative) for content-length 14. strange-content-length-2 test result: Exception type: number.format, Source: http://www.parser.ru/_/tests/nph-379.pl?strange-content-length-2, Comment: '200OK?' is an invalid number (int) for content-length