Annotation of parser3/tests/results/346-curl.processed, revision 1.7
1.1 moko 1: Content-Type: text/html
1.7 ! moko 2: Content-Length: 3078
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",
118: "size":183,
119: "mode":"text",
120: "content-type":"text\/plain",
121: }
122: <h3>Headers</h3>
123: <pre>CONTENT_LENGTH : 0
124: HTTP_ACCEPT : */*
125: HTTP_HOST : www.parser.ru
126: REQUEST_METHOD : POST
127: REQUEST_URI : /_/tests/223.pl
128: SCRIPT_NAME : /_/tests/223.pl
129: SERVER_NAME : www.parser.ru</pre>
130: <h3>Body</h3>
131: <pre></pre>
132: <hr />
1.5 moko 133: 17. Type: curl.host,
1.3 moko 134: Source: load,
135: Comment: Couldn't resolve host name
E-mail: