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

1.1       moko        1: Content-Type: text/html
1.8     ! moko        2: Content-Length: 3751
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,
1.7       moko       62: "protocol":0,
1.1       moko       63: "total_time":0,
                     64: "content_length_download":-1,
                     65: "os_errno":0,
                     66: "ssl_verifyresult":0,
                     67: "response_code":0,
                     68: "content_length_upload":-1,
                     69: "size_upload":0
                     70: }
1.5       moko       71: 12. Parser3 tests (make tests).
1.3       moko       72: Don't delete or modify them.
                     73: bytes 4-62/63
1.5       moko       74: 13. Don't delete or modify them.
1.3       moko       75: bytes 33-62/63
1.5       moko       76: 14. text : {
1.3       moko       77: "name":"test.txt",
                     78: "size":265,
                     79: "mode":"binary",
                     80: "content-type":"something\/text",
                     81: }
                     82: <h3>Headers</h3>
                     83: <pre>CONTENT_LENGTH    : 4
                     84: CONTENT_TYPE   : application/x-www-form-urlencoded
                     85: HTTP_ACCEPT    : */*
                     86: HTTP_HOST      : www.parser.ru
                     87: HTTP_USER_AGENT        : parser%203
                     88: REQUEST_METHOD : POST
                     89: REQUEST_URI    : /_/tests/223.pl
                     90: SCRIPT_NAME    : /_/tests/223.pl
                     91: SERVER_NAME    : www.parser.ru</pre>
                     92: <h3>Body</h3>
                     93: <pre>test</pre>
                     94: <hr />
1.5       moko       95: 15. binary : {
1.3       moko       96: "name":"223.pl",
                     97: "size":255,
                     98: "mode":"text",
                     99: "content-type":"text\/plain",
                    100: }
                    101: <h3>Headers</h3>
                    102: <pre>CONTENT_LENGTH    : 22
                    103: CONTENT_TYPE   : application/x-www-form-urlencoded
                    104: HTTP_ACCEPT    : */*
                    105: HTTP_HOST      : www.parser.ru
                    106: REQUEST_METHOD : POST
                    107: REQUEST_URI    : /_/tests/223.pl
                    108: SCRIPT_NAME    : /_/tests/223.pl
                    109: SERVER_NAME    : www.parser.ru</pre>
                    110: <h3>Body</h3>
                    111: <pre>"a"       "b"
                    112: "av    av"     "b
                    113: v"
                    114: </pre>
                    115: <hr />
1.5       moko      116: 16. empty post : {
1.4       moko      117: "name":"223.pl",
1.8     ! moko      118: "size":232,
1.4       moko      119: "mode":"text",
                    120: "content-type":"text\/plain",
                    121: }
                    122: <h3>Headers</h3>
                    123: <pre>CONTENT_LENGTH    : 0
1.8     ! moko      124: CONTENT_TYPE   : application/x-www-form-urlencoded
1.4       moko      125: HTTP_ACCEPT    : */*
                    126: HTTP_HOST      : www.parser.ru
                    127: REQUEST_METHOD : POST
                    128: REQUEST_URI    : /_/tests/223.pl
                    129: SCRIPT_NAME    : /_/tests/223.pl
                    130: SERVER_NAME    : www.parser.ru</pre>
                    131: <h3>Body</h3>
                    132: <pre></pre>
                    133: <hr />
1.8     ! moko      134: 17. empty get : {
        !           135: "name":"223.pl",
        !           136: "size":153,
        !           137: "mode":"text",
        !           138: "content-type":"text\/plain",
        !           139: }
        !           140: <h3>Headers</h3>
        !           141: <pre>HTTP_ACCEPT       : */*
        !           142: HTTP_HOST      : www.parser.ru
        !           143: REQUEST_METHOD : GET
        !           144: REQUEST_URI    : /_/tests/223.pl
        !           145: SCRIPT_NAME    : /_/tests/223.pl
        !           146: SERVER_NAME    : www.parser.ru</pre>
        !           147: <h3>Body</h3>
        !           148: <pre></pre>
        !           149: <hr />
        !           150: 18. empty custompost : {
        !           151: "name":"223.pl",
        !           152: "size":164,
        !           153: "mode":"text",
        !           154: "content-type":"text\/plain",
        !           155: }
        !           156: <h3>Headers</h3>
        !           157: <pre>HTTP_ACCEPT       : */*
        !           158: HTTP_HOST      : www.parser.ru
        !           159: REQUEST_METHOD : POST
        !           160: REQUEST_URI    : /_/tests/223.pl
        !           161: SCRIPT_NAME    : /_/tests/223.pl
        !           162: SERVER_NAME    : www.parser.ru</pre>
        !           163: <h3>Body</h3>
        !           164: <pre></pre>
        !           165: <hr />
        !           166: 19. Type: curl.host,
1.3       moko      167: Source: load,
                    168: Comment: Couldn't resolve host name

E-mail: