Annotation of parser3/tests/results/346-curl.processed, revision 1.10

1.1       moko        1: Content-Type: text/html
1.10    ! moko        2: Content-Length: 3821
1.1       moko        3: 
1.5       moko        4: 1. Type: curl,
1.2       moko        5: Source: info,
                      6: Comment: outside of 'session' operator
1.5       moko        7: 2. Type: curl,
1.2       moko        8: Source: options,
                      9: Comment: outside of 'session' operator
1.5       moko       10: 3. Type: curl,
1.2       moko       11: Source: options,
                     12: Comment: outside of 'session' operator
1.5       moko       13: 4. 5. Type: curl,
1.2       moko       14: Source: options,
                     15: Comment: failed to set option 'library': already loaded
1.5       moko       16: 6. Type: curl,
1.2       moko       17: Source: options,
                     18: Comment: failed to set option 'url': invalid url scheme 'ftp://parser.ru/'
1.5       moko       19: 7. Type: curl,
1.3       moko       20: Source: name,
                     21: Comment: is hash, form option value can be string, table or file only
1.6       moko       22: 8. Type: parser.runtime,
1.3       moko       23: Source: options,
1.6       moko       24: Comment: failed to set option 'httppost': value must have hash representation
                     25: 8.1. Type: parser.runtime,
                     26: Source: options,
                     27: Comment: failed to set option 'httppost': value must have hash representation
                     28: 8.2. Type: parser.runtime,
                     29: Source: options,
                     30: Comment: failed to set option 'httpheader': value must have hash representation
                     31: 8.3. Type: parser.runtime,
                     32: Source: options,
                     33: Comment: failed to set option 'httpheader': value must have hash representation
                     34: 8.4. 9. Type: curl,
1.4       moko       35: Source: options,
1.3       moko       36: Comment: called with invalid option 'no-such-option'
1.5       moko       37: 10. Type: curl,
1.3       moko       38: Source: info,
                     39: Comment: called with invalid parameter 'no-such-info'
1.5       moko       40: 11. {
1.7       moko       41: "http_version":"none",
1.1       moko       42: "size_download":0,
                     43: "request_size":0,
                     44: "content_type":"",
                     45: "effective_url":"",
                     46: "header_size":0,
                     47: "redirect_time":0,
                     48: "appconnect_time":0,
                     49: "pretransfer_time":0,
                     50: "num_connects":0,
1.7       moko       51: "scheme":"",
1.1       moko       52: "primary_ip":"",
                     53: "speed_upload":0,
                     54: "speed_download":0,
                     55: "redirect_url":"",
                     56: "proxyauth_avail":0,
                     57: "starttransfer_time":0,
                     58: "connect_time":0,
                     59: "namelookup_time":0,
                     60: "redirect_count":0,
                     61: "httpauth_avail":0,
                     62: "total_time":0,
                     63: "content_length_download":-1,
                     64: "os_errno":0,
                     65: "ssl_verifyresult":0,
                     66: "response_code":0,
                     67: "content_length_upload":-1,
                     68: "size_upload":0
                     69: }
1.5       moko       70: 12. Parser3 tests (make tests).
1.3       moko       71: Don't delete or modify them.
                     72: bytes 4-62/63
1.5       moko       73: 13. Don't delete or modify them.
1.3       moko       74: bytes 33-62/63
1.10    ! moko       75: 13.1. Type: curl,
        !            76: Source: unknown,
        !            77: Comment: invalid http_version option value
        !            78: 13.2. 14. text : {
1.3       moko       79: "name":"test.txt",
                     80: "size":265,
                     81: "mode":"binary",
                     82: "content-type":"something\/text",
                     83: }
                     84: <h3>Headers</h3>
                     85: <pre>CONTENT_LENGTH    : 4
                     86: CONTENT_TYPE   : application/x-www-form-urlencoded
                     87: HTTP_ACCEPT    : */*
                     88: HTTP_HOST      : www.parser.ru
                     89: HTTP_USER_AGENT        : parser%203
                     90: REQUEST_METHOD : POST
                     91: REQUEST_URI    : /_/tests/223.pl
                     92: SCRIPT_NAME    : /_/tests/223.pl
                     93: SERVER_NAME    : www.parser.ru</pre>
                     94: <h3>Body</h3>
                     95: <pre>test</pre>
                     96: <hr />
1.5       moko       97: 15. binary : {
1.3       moko       98: "name":"223.pl",
                     99: "size":255,
                    100: "mode":"text",
                    101: "content-type":"text\/plain",
                    102: }
                    103: <h3>Headers</h3>
                    104: <pre>CONTENT_LENGTH    : 22
                    105: CONTENT_TYPE   : application/x-www-form-urlencoded
                    106: HTTP_ACCEPT    : */*
                    107: HTTP_HOST      : www.parser.ru
                    108: REQUEST_METHOD : POST
                    109: REQUEST_URI    : /_/tests/223.pl
                    110: SCRIPT_NAME    : /_/tests/223.pl
                    111: SERVER_NAME    : www.parser.ru</pre>
                    112: <h3>Body</h3>
                    113: <pre>"a"       "b"
                    114: "av    av"     "b
                    115: v"
                    116: </pre>
                    117: <hr />
1.5       moko      118: 16. empty post : {
1.4       moko      119: "name":"223.pl",
1.8       moko      120: "size":232,
1.4       moko      121: "mode":"text",
                    122: "content-type":"text\/plain",
                    123: }
                    124: <h3>Headers</h3>
                    125: <pre>CONTENT_LENGTH    : 0
1.8       moko      126: CONTENT_TYPE   : application/x-www-form-urlencoded
1.4       moko      127: HTTP_ACCEPT    : */*
                    128: HTTP_HOST      : www.parser.ru
                    129: REQUEST_METHOD : POST
                    130: REQUEST_URI    : /_/tests/223.pl
                    131: SCRIPT_NAME    : /_/tests/223.pl
                    132: SERVER_NAME    : www.parser.ru</pre>
                    133: <h3>Body</h3>
                    134: <pre></pre>
                    135: <hr />
1.8       moko      136: 17. empty get : {
                    137: "name":"223.pl",
                    138: "size":153,
                    139: "mode":"text",
                    140: "content-type":"text\/plain",
                    141: }
                    142: <h3>Headers</h3>
                    143: <pre>HTTP_ACCEPT       : */*
                    144: HTTP_HOST      : www.parser.ru
                    145: REQUEST_METHOD : GET
                    146: REQUEST_URI    : /_/tests/223.pl
                    147: SCRIPT_NAME    : /_/tests/223.pl
                    148: SERVER_NAME    : www.parser.ru</pre>
                    149: <h3>Body</h3>
                    150: <pre></pre>
                    151: <hr />
                    152: 18. empty custompost : {
                    153: "name":"223.pl",
                    154: "size":164,
                    155: "mode":"text",
                    156: "content-type":"text\/plain",
                    157: }
                    158: <h3>Headers</h3>
                    159: <pre>HTTP_ACCEPT       : */*
                    160: HTTP_HOST      : www.parser.ru
                    161: REQUEST_METHOD : POST
                    162: REQUEST_URI    : /_/tests/223.pl
                    163: SCRIPT_NAME    : /_/tests/223.pl
                    164: SERVER_NAME    : www.parser.ru</pre>
                    165: <h3>Body</h3>
                    166: <pre></pre>
                    167: <hr />
                    168: 19. Type: curl.host,
1.3       moko      169: Source: load,
                    170: Comment: Couldn't resolve host name

E-mail: