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

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
1.2     ! moko       95: Last-Modified: Sun, 20 Oct 2024 23:34:07 GMT
1.1       moko       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
1.2     ! moko      130: Last-Modified: Sun, 20 Oct 2024 23:34:07 GMT
1.1       moko      131: 
                    132: test.
                    133: =============
                    134: running test 016.txt
                    135: HTTP/1.0 400 Bad Request
                    136: Content-Type: text/plain
                    137: 
                    138: Invalid range
                    139: =============
                    140: running test 017.txt
                    141: HTTP/1.0 206 Partial Content
                    142: Content-Type: text/plain
                    143: Server: Parser3
                    144: Connection: close
                    145: Accept-Ranges: bytes
                    146: Content-Range: bytes 5-14/15
                    147: Content-Length: 10
1.2     ! moko      148: Last-Modified: Sun, 20 Oct 2024 23:34:07 GMT
1.1       moko      149: 
                    150: test.test!
                    151: =============
                    152: running test 018.txt
                    153: HTTP/1.0 206 Partial Content
                    154: Content-Type: text/plain
                    155: Server: Parser3
                    156: Connection: close
                    157: Accept-Ranges: bytes
                    158: Content-Range: bytes 10-14/15
                    159: Content-Length: 5
1.2     ! moko      160: Last-Modified: Sun, 20 Oct 2024 23:34:07 GMT
1.1       moko      161: 
                    162: test!
                    163: =============
                    164: running test 019.txt
                    165: HTTP/1.0 416 Range Not Satisfiable
                    166: Content-Type: text/plain
                    167: 
                    168: 
                    169: =============
                    170: running test 020.txt
                    171: HTTP/1.0 206 Partial Content
                    172: Content-Type: text/plain
                    173: Server: Parser3
                    174: Connection: close
                    175: Accept-Ranges: bytes
                    176: Content-Range: bytes 10-14/15
                    177: Content-Length: 5
1.2     ! moko      178: Last-Modified: Sun, 20 Oct 2024 23:34:07 GMT
1.1       moko      179: 
                    180: test!
                    181: =============
                    182: running test 021.txt
                    183: HTTP/1.0 501 Not Implemented
                    184: Content-Type: text/plain
                    185: 
                    186: Multiple ranges are not supported
                    187: =============
                    188: running test 022.txt
                    189: HTTP/1.0 501 Not Implemented
                    190: Content-Type: text/plain
                    191: 
                    192: invalid request method
                    193: =============
                    194: running test 023.txt
                    195: HTTP/1.0 403 Forbidden
                    196: Content-Type: text/html; charset=UTF-8
                    197: Server: Parser3.4.7b (compiled on x86_64-unknown-linux-gnu)
                    198: Date: WWW, DD MMM YYYY HH MM:SS GMT
                    199: Connection: close
                    200: Content-Length: 17
                    201: 
                    202: Permission denied
                    203: =============
                    204: running test 024.txt
                    205: HTTP/1.0 401 Unauthorized
                    206: Content-Type: text/html; charset=UTF-8
                    207: Server: Parser3.4.7b (compiled on x86_64-unknown-linux-gnu)
                    208: Date: WWW, DD MMM YYYY HH MM:SS GMT
                    209: Connection: close
                    210: Www-Authenticate: Basic realm="auth test"
                    211: Content-Length: 22
                    212: 
                    213: Authorization Required
                    214: =============
                    215: running test 025.txt
                    216: HTTP/1.0 200 OK
                    217: Content-Type: text/html; charset=UTF-8
                    218: Server: Parser3
                    219: Connection: close
                    220: Content-Length: 209
                    221: 
                    222: 2+2 is 4
                    223: {
                    224: "SERVER_NAME":"localhost",
                    225: "REMOTE_ADDR":"127.0.0.1",
                    226: "HTTP_AUTHORIZATION":"Basic YXV0aDp0ZXN0",
                    227: "REMOTE_USER":"auth",
                    228: "SERVER_PORT":"8100",
                    229: "REQUEST_URI":"\/index.html",
                    230: "REQUEST_METHOD":"GET"
                    231: }
                    232: {}
                    233: =============
                    234: running test 026.txt
                    235: HTTP/1.0 200 OK
                    236: Content-Type: text/html; charset=UTF-8
                    237: Server: Parser3
                    238: Connection: close
                    239: Content-Length: 237
                    240: 
                    241: 2+2 is 4
                    242: {
                    243: "HTTP_CONTENT_LENGTH":"10",
                    244: "SERVER_NAME":"localhost",
                    245: "REMOTE_ADDR":"127.0.0.1",
                    246: "SERVER_PORT":"8100",
                    247: "REQUEST_URI":"\/",
                    248: "HTTP_CONTENT_TYPE":"application\/x-www-form-urlencoded",
                    249: "REQUEST_METHOD":"POST"
                    250: }
                    251: {
                    252: "name":"value"
                    253: }
                    254: =============
                    255: running test 027.txt
                    256: HTTP/1.0 200 OK
                    257: Content-Type: text/html; charset=UTF-8
                    258: Server: Parser3
                    259: Connection: close
                    260: Content-Length: 232
                    261: 
                    262: 2+2 is 4
                    263: {
                    264: "HTTP_CONTENT_LENGTH":"6",
                    265: "SERVER_NAME":"localhost",
                    266: "REMOTE_ADDR":"127.0.0.1",
                    267: "SERVER_PORT":"8100",
                    268: "REQUEST_URI":"\/",
                    269: "HTTP_CONTENT_TYPE":"application\/x-www-form-urlencoded",
                    270: "REQUEST_METHOD":"POST"
                    271: }
                    272: {
                    273: "name":"v"
                    274: }
                    275: =============
                    276: running test 028.txt
                    277: HTTP/1.0 200 OK
                    278: Content-Type: text/html; charset=UTF-8
                    279: Server: Parser3
                    280: Connection: close
                    281: Content-Length: 207
                    282: 
                    283: 2+2 is 4
                    284: {
                    285: "SERVER_NAME":"localhost",
                    286: "REMOTE_ADDR":"127.0.0.1",
                    287: "QUERY_STRING":"name=value&a=b",
                    288: "SERVER_PORT":"8100",
                    289: "REQUEST_URI":"\/?name=value&a=b",
                    290: "REQUEST_METHOD":"GET"
                    291: }
                    292: {
                    293: "name":"value",
                    294: "a":"b"
                    295: }
                    296: =============
                    297: running test 030.txt
                    298: HTTP/1.0 408 Request Timeout
                    299: Content-Type: text/plain
                    300: 
                    301: timeout occurred while receiving request
                    302: =============

E-mail: