Annotation of parser3/tests/httpd/ok.log, revision 1.1

1.1     ! moko        1: running test 001.txt
        !             2: HTTP/1.0 200 OK
        !             3: Content-Type: text/html; charset=UTF-8
        !             4: Server: Parser3
        !             5: Connection: close
        !             6: Content-Length: 159
        !             7: 
        !             8: 2+2 is 4
        !             9: {
        !            10: "SERVER_NAME":"parser.ru",
        !            11: "REMOTE_ADDR":"127.0.0.1",
        !            12: "HTTP_HOST":"parser.ru",
        !            13: "SERVER_PORT":"8100",
        !            14: "REQUEST_URI":"\/",
        !            15: "REQUEST_METHOD":"GET"
        !            16: }
        !            17: {}
        !            18: =============
        !            19: running test 002.txt
        !            20: HTTP/1.0 501 Not Implemented
        !            21: Content-Type: text/plain
        !            22: 
        !            23: invalid request method
        !            24: =============
        !            25: running test 003.txt
        !            26: HTTP/1.0 200 OK
        !            27: Content-Type: text/html; charset=UTF-8
        !            28: Server: Parser3
        !            29: Connection: close
        !            30: Content-Length: 162
        !            31: 
        !            32: 2+2 is 4
        !            33: {
        !            34: "HTTP_CONTENT_LENGTH":"10",
        !            35: "SERVER_NAME":"localhost",
        !            36: "REMOTE_ADDR":"127.0.0.1",
        !            37: "SERVER_PORT":"8100",
        !            38: "REQUEST_URI":"\/",
        !            39: "REQUEST_METHOD":"GET"
        !            40: }
        !            41: {}
        !            42: =============
        !            43: running test 004.txt
        !            44: HTTP/1.0 404 Not Found
        !            45: Content-Type: text/html; charset=UTF-8
        !            46: Server: Parser3
        !            47: Connection: close
        !            48: Content-Length: 47
        !            49: 
        !            50: The requested URL was not found on this server.
        !            51: =============
        !            52: running test 005.txt
        !            53: HTTP/1.0 400 Bad Request
        !            54: Content-Type: text/plain
        !            55: 
        !            56: bad response from host - bad header ":value"
        !            57: =============
        !            58: running test 007.txt
        !            59: HTTP/1.0 400 Bad Request
        !            60: Content-Type: text/plain
        !            61: 
        !            62: invalid uri '/../data/test.txt'
        !            63: =============
        !            64: running test 008.txt
        !            65: HTTP/1.0 400 Bad Request
        !            66: Content-Type: text/plain
        !            67: 
        !            68: invalid uri '%2Ftest.txt'
        !            69: =============
        !            70: running test 009.txt
        !            71: HTTP/1.0 400 Bad Request
        !            72: Content-Type: text/plain
        !            73: 
        !            74: invalid uri '/.%2E/data/test.txt'
        !            75: =============
        !            76: running test 010.txt
        !            77: HTTP/1.0 400 Bad Request
        !            78: Content-Type: text/plain
        !            79: 
        !            80: invalid uri '/test%2Ftest.txt'
        !            81: =============
        !            82: running test 011.txt
        !            83: HTTP/1.0 400 Bad Request
        !            84: Content-Type: text/plain
        !            85: 
        !            86: invalid uri 'test.txt'
        !            87: =============
        !            88: running test 012.txt
        !            89: HTTP/1.0 200 OK
        !            90: Content-Type: text/plain
        !            91: Server: Parser3
        !            92: Connection: close
        !            93: Accept-Ranges: bytes
        !            94: Content-Length: 15
        !            95: Last-Modified: Tue, 08 Dec 2020 22:46:59 GMT
        !            96: 
        !            97: test?test.test!
        !            98: =============
        !            99: running test 013.txt
        !           100: HTTP/1.0 400 Bad Request
        !           101: Content-Type: text/plain
        !           102: 
        !           103: invalid uri '/.%2E\data/test.txt'
        !           104: =============
        !           105: running test 014.txt
        !           106: HTTP/1.0 200 OK
        !           107: Content-Type: text/html; charset=UTF-8
        !           108: Server: Parser3
        !           109: Connection: close
        !           110: Content-Length: 145
        !           111: 
        !           112: 2+2 is 4
        !           113: {
        !           114: "SERVER_NAME":"localhost",
        !           115: "REMOTE_ADDR":"127.0.0.1",
        !           116: "REQUEST_URI":"\/%00test.txt",
        !           117: "SERVER_PORT":"8100",
        !           118: "REQUEST_METHOD":"GET"
        !           119: }
        !           120: {}
        !           121: =============
        !           122: running test 015.txt
        !           123: HTTP/1.0 206 Partial Content
        !           124: Content-Type: text/plain
        !           125: Server: Parser3
        !           126: Connection: close
        !           127: Accept-Ranges: bytes
        !           128: Content-Range: bytes 5-9/15
        !           129: Content-Length: 5
        !           130: Last-Modified: Tue, 08 Dec 2020 22:46:59 GMT
        !           131: 
        !           132: test.
        !           133: =============
        !           134: running test 016.txt
        !           135: HTTP/1.0 400 Bad Request
        !           136: Content-Type: text/plain
        !           137: Server: Parser3
        !           138: Connection: close
        !           139: Accept-Ranges: bytes
        !           140: Content-Type: text/plain
        !           141: 
        !           142: Invalid range
        !           143: =============
        !           144: running test 017.txt
        !           145: HTTP/1.0 206 Partial Content
        !           146: Content-Type: text/plain
        !           147: Server: Parser3
        !           148: Connection: close
        !           149: Accept-Ranges: bytes
        !           150: Content-Range: bytes 5-14/15
        !           151: Content-Length: 10
        !           152: Last-Modified: Tue, 08 Dec 2020 22:46:59 GMT
        !           153: 
        !           154: test.test!
        !           155: =============
        !           156: running test 018.txt
        !           157: HTTP/1.0 206 Partial Content
        !           158: Content-Type: text/plain
        !           159: Server: Parser3
        !           160: Connection: close
        !           161: Accept-Ranges: bytes
        !           162: Content-Range: bytes 10-14/15
        !           163: Content-Length: 5
        !           164: Last-Modified: Tue, 08 Dec 2020 22:46:59 GMT
        !           165: 
        !           166: test!
        !           167: =============
        !           168: running test 019.txt
        !           169: HTTP/1.0 416 Range Not Satisfiable
        !           170: Content-Type: text/plain
        !           171: Server: Parser3
        !           172: Connection: close
        !           173: Accept-Ranges: bytes
        !           174: Content-Type: text/plain
        !           175: 
        !           176: 
        !           177: =============
        !           178: running test 020.txt
        !           179: HTTP/1.0 206 Partial Content
        !           180: Content-Type: text/plain
        !           181: Server: Parser3
        !           182: Connection: close
        !           183: Accept-Ranges: bytes
        !           184: Content-Range: bytes 10-14/15
        !           185: Content-Length: 5
        !           186: Last-Modified: Tue, 08 Dec 2020 22:46:59 GMT
        !           187: 
        !           188: test!
        !           189: =============
        !           190: running test 021.txt
        !           191: HTTP/1.0 501 Not Implemented
        !           192: Content-Type: text/plain
        !           193: Server: Parser3
        !           194: Connection: close
        !           195: Accept-Ranges: bytes
        !           196: Content-Type: text/plain
        !           197: 
        !           198: Multiple ranges are not supported
        !           199: =============
        !           200: running test 022.txt
        !           201: HTTP/1.0 501 Not Implemented
        !           202: Content-Type: text/plain
        !           203: 
        !           204: invalid request method
        !           205: =============
        !           206: running test 023.txt
        !           207: HTTP/1.0 403 Forbidden
        !           208: Content-Type: text/html; charset=UTF-8
        !           209: Server: Parser3.4.7b (compiled on x86_64-unknown-linux-gnu)
        !           210: Date: WWW, DD MMM YYYY HH MM:SS GMT
        !           211: Connection: close
        !           212: Content-Length: 17
        !           213: 
        !           214: Permission denied
        !           215: =============
        !           216: running test 024.txt
        !           217: HTTP/1.0 401 Unauthorized
        !           218: Content-Type: text/html; charset=UTF-8
        !           219: Server: Parser3.4.7b (compiled on x86_64-unknown-linux-gnu)
        !           220: Date: WWW, DD MMM YYYY HH MM:SS GMT
        !           221: Connection: close
        !           222: Www-Authenticate: Basic realm="auth test"
        !           223: Content-Length: 22
        !           224: 
        !           225: Authorization Required
        !           226: =============
        !           227: running test 025.txt
        !           228: HTTP/1.0 200 OK
        !           229: Content-Type: text/html; charset=UTF-8
        !           230: Server: Parser3
        !           231: Connection: close
        !           232: Content-Length: 209
        !           233: 
        !           234: 2+2 is 4
        !           235: {
        !           236: "SERVER_NAME":"localhost",
        !           237: "REMOTE_ADDR":"127.0.0.1",
        !           238: "HTTP_AUTHORIZATION":"Basic YXV0aDp0ZXN0",
        !           239: "REMOTE_USER":"auth",
        !           240: "SERVER_PORT":"8100",
        !           241: "REQUEST_URI":"\/index.html",
        !           242: "REQUEST_METHOD":"GET"
        !           243: }
        !           244: {}
        !           245: =============
        !           246: running test 026.txt
        !           247: HTTP/1.0 200 OK
        !           248: Content-Type: text/html; charset=UTF-8
        !           249: Server: Parser3
        !           250: Connection: close
        !           251: Content-Length: 237
        !           252: 
        !           253: 2+2 is 4
        !           254: {
        !           255: "HTTP_CONTENT_LENGTH":"10",
        !           256: "SERVER_NAME":"localhost",
        !           257: "REMOTE_ADDR":"127.0.0.1",
        !           258: "SERVER_PORT":"8100",
        !           259: "REQUEST_URI":"\/",
        !           260: "HTTP_CONTENT_TYPE":"application\/x-www-form-urlencoded",
        !           261: "REQUEST_METHOD":"POST"
        !           262: }
        !           263: {
        !           264: "name":"value"
        !           265: }
        !           266: =============
        !           267: running test 027.txt
        !           268: HTTP/1.0 200 OK
        !           269: Content-Type: text/html; charset=UTF-8
        !           270: Server: Parser3
        !           271: Connection: close
        !           272: Content-Length: 232
        !           273: 
        !           274: 2+2 is 4
        !           275: {
        !           276: "HTTP_CONTENT_LENGTH":"6",
        !           277: "SERVER_NAME":"localhost",
        !           278: "REMOTE_ADDR":"127.0.0.1",
        !           279: "SERVER_PORT":"8100",
        !           280: "REQUEST_URI":"\/",
        !           281: "HTTP_CONTENT_TYPE":"application\/x-www-form-urlencoded",
        !           282: "REQUEST_METHOD":"POST"
        !           283: }
        !           284: {
        !           285: "name":"v"
        !           286: }
        !           287: =============
        !           288: running test 028.txt
        !           289: HTTP/1.0 200 OK
        !           290: Content-Type: text/html; charset=UTF-8
        !           291: Server: Parser3
        !           292: Connection: close
        !           293: Content-Length: 207
        !           294: 
        !           295: 2+2 is 4
        !           296: {
        !           297: "SERVER_NAME":"localhost",
        !           298: "REMOTE_ADDR":"127.0.0.1",
        !           299: "QUERY_STRING":"name=value&a=b",
        !           300: "SERVER_PORT":"8100",
        !           301: "REQUEST_URI":"\/?name=value&a=b",
        !           302: "REQUEST_METHOD":"GET"
        !           303: }
        !           304: {
        !           305: "name":"value",
        !           306: "a":"b"
        !           307: }
        !           308: =============
        !           309: running test 030.txt
        !           310: HTTP/1.0 408 Request Timeout
        !           311: Content-Type: text/plain
        !           312: 
        !           313: timeout occurred while receiving request
        !           314: =============

E-mail: