--- parser3/tests/httpd/ok.log 2024/11/23 15:37:29 1.5 +++ parser3/tests/httpd/ok.log 2026/10/10 21:55:11 1.8 @@ -92,7 +92,7 @@ Server: Parser3 Connection: close Accept-Ranges: bytes Content-Length: 15 -Last-Modified: Sun, 20 Oct 2024 23:34:07 GMT +Last-Modified: DATE GMT test?test.test! ============= @@ -127,7 +127,7 @@ Connection: close Accept-Ranges: bytes Content-Range: bytes 5-9/15 Content-Length: 5 -Last-Modified: Sun, 20 Oct 2024 23:34:07 GMT +Last-Modified: DATE GMT test. ============= @@ -145,7 +145,7 @@ Connection: close Accept-Ranges: bytes Content-Range: bytes 5-14/15 Content-Length: 10 -Last-Modified: Sun, 20 Oct 2024 23:34:07 GMT +Last-Modified: DATE GMT test.test! ============= @@ -157,7 +157,7 @@ Connection: close Accept-Ranges: bytes Content-Range: bytes 10-14/15 Content-Length: 5 -Last-Modified: Sun, 20 Oct 2024 23:34:07 GMT +Last-Modified: DATE GMT test! ============= @@ -175,7 +175,7 @@ Connection: close Accept-Ranges: bytes Content-Range: bytes 10-14/15 Content-Length: 5 -Last-Modified: Sun, 20 Oct 2024 23:34:07 GMT +Last-Modified: DATE GMT test! ============= @@ -194,8 +194,8 @@ invalid request method running test 023.txt HTTP/1.0 403 Forbidden Content-Type: text/html; charset=UTF-8 -Server: Parser3.4.7b (compiled on x86_64-unknown-linux-gnu) -Date: WWW, DD MMM YYYY HH MM:SS GMT +Server: Parser3.X.X ... +Date: DATE GMT Connection: close Content-Length: 17 @@ -204,8 +204,8 @@ Permission denied running test 024.txt HTTP/1.0 401 Unauthorized Content-Type: text/html; charset=UTF-8 -Server: Parser3.4.7b (compiled on x86_64-unknown-linux-gnu) -Date: WWW, DD MMM YYYY HH MM:SS GMT +Server: Parser3.X.X ... +Date: DATE GMT Connection: close Www-Authenticate: Basic realm="auth test" Content-Length: 22 @@ -433,9 +433,112 @@ elements: { } name: value ============= +running test 032.txt +HTTP/1.0 200 OK +Content-Type: text/html; charset=Windows-1251 +Server: Parser3 +Connection: close +Content-Length: 160 + +uri: "/%D0%BF%D0%BE-%D1%80%D1%83%D1%81%D1%81%D0%BA%D0%B8/?name=%F2%E5%F1%F2&charset=Windows-1251" +path: "/ïî-ðóññêè/" +"name"="òåñò" +"charset"="Windows-1251" +============= +running test 033.txt +HTTP/1.0 200 OK +Content-Type: text/html; charset=UTF-8 +Server: Parser3 +Connection: close +Content-Length: 87 + +uri: "/%D0%BF%D0%BE-%D1%80%D1%83%D1%81%D1%81%D0%BA%D0%B8/" +path: "/по-руÑ�Ñ�ки/" + +============= +running test 034.txt +HTTP/1.0 200 OK +Content-Type: text/html; charset=UTF-8 +Server: Parser3 +Connection: close +Content-Length: 228 + +uri: "/%D0%B1%D1%83%D0%BA%D0%B2%D1%8B%3F%20-%20%D0%BA%D0%BE%D0%BD%D0%B5%D1%87%D0%BD%D0%BE!%20%D0%B1%D1%83%D0%BA%D0%B2%D1%8B%25%F0%9F%98%8A/?name=%F2%E5%F1%F2" +path: "/буквы? - конечно! буквы%😊/" +"name"="òåñò" +============= +running test 035.txt +HTTP/1.0 200 OK +Content-Type: text/html; charset=Windows-1251 +Server: Parser3 +Connection: close +Content-Length: 269 + +uri: "/%D0%B1%D1%83%D0%BA%D0%B2%D1%8B%3F%20-%20%D0%BA%D0%BE%D0%BD%D0%B5%D1%87%D0%BD%D0%BE!%20%D0%B1%D1%83%D0%BA%D0%B2%D1%8B%25%F0%9F%98%8A/?name=%F2%E5%F1%F2&charset=Windows-1251" +path: "/áóêâû? - êîíå÷íî! áóêâû%%F0%9F%98%8A/" +"name"="òåñò" +"charset"="Windows-1251" +============= +running test 036.txt +HTTP/1.0 200 OK +Content-Type: text/html; charset=UTF-8 +Server: Parser3 +Connection: close +Content-Length: 69 + +uri: "/broken-%D0%B1%D1%83%D0%BA%D0%B2%D1" +path: "/broken-буквÑ" + +============= +running test 037.txt +HTTP/1.0 200 OK +Content-Type: text/html; charset=UTF-8 +Server: Parser3 +Connection: close +Content-Length: 51 + +uri: "/broken-буквÑ" +path: "/broken-буквÑ" + +============= +running test 038.txt +HTTP/1.0 200 OK +Content-Type: text/html; charset=UTF-8 +Server: Parser3 +Connection: close +Content-Length: 31 + +uri: "/test/%D" +path: "/test/" + +============= running test 040.txt HTTP/1.0 408 Request Timeout Content-Type: text/plain timeout occurred while receiving request ============= +running test 041.txt +HTTP/1.0 206 Partial Content +Content-Type: text/plain +Server: Parser3 +Connection: close +Accept-Ranges: bytes +Content-Range: bytes 5-14/15 +Content-Length: 10 +Last-Modified: DATE GMT + +test.test! +============= +running test 042.txt +HTTP/1.0 416 Range Not Satisfiable +Content-Type: text/plain + + +============= +running test 043.txt +HTTP/1.0 416 Range Not Satisfiable +Content-Type: text/plain + + +=============