Annotation of parser3/tests/results/346-curl.processed, revision 1.9
1.1 moko 1: Content-Type: text/html
1.9 ! moko 2: Content-Length: 3737
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.5 moko 75: 14. text : {
1.3 moko 76: "name":"test.txt",
77: "size":265,
78: "mode":"binary",
79: "content-type":"something\/text",
80: }
81: <h3>Headers</h3>
82: <pre>CONTENT_LENGTH : 4
83: CONTENT_TYPE : application/x-www-form-urlencoded
84: HTTP_ACCEPT : */*
85: HTTP_HOST : www.parser.ru
86: HTTP_USER_AGENT : parser%203
87: REQUEST_METHOD : POST
88: REQUEST_URI : /_/tests/223.pl
89: SCRIPT_NAME : /_/tests/223.pl
90: SERVER_NAME : www.parser.ru</pre>
91: <h3>Body</h3>
92: <pre>test</pre>
93: <hr />
1.5 moko 94: 15. binary : {
1.3 moko 95: "name":"223.pl",
96: "size":255,
97: "mode":"text",
98: "content-type":"text\/plain",
99: }
100: <h3>Headers</h3>
101: <pre>CONTENT_LENGTH : 22
102: CONTENT_TYPE : application/x-www-form-urlencoded
103: HTTP_ACCEPT : */*
104: HTTP_HOST : www.parser.ru
105: REQUEST_METHOD : POST
106: REQUEST_URI : /_/tests/223.pl
107: SCRIPT_NAME : /_/tests/223.pl
108: SERVER_NAME : www.parser.ru</pre>
109: <h3>Body</h3>
110: <pre>"a" "b"
111: "av av" "b
112: v"
113: </pre>
114: <hr />
1.5 moko 115: 16. empty post : {
1.4 moko 116: "name":"223.pl",
1.8 moko 117: "size":232,
1.4 moko 118: "mode":"text",
119: "content-type":"text\/plain",
120: }
121: <h3>Headers</h3>
122: <pre>CONTENT_LENGTH : 0
1.8 moko 123: CONTENT_TYPE : application/x-www-form-urlencoded
1.4 moko 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.8 moko 133: 17. empty get : {
134: "name":"223.pl",
135: "size":153,
136: "mode":"text",
137: "content-type":"text\/plain",
138: }
139: <h3>Headers</h3>
140: <pre>HTTP_ACCEPT : */*
141: HTTP_HOST : www.parser.ru
142: REQUEST_METHOD : GET
143: REQUEST_URI : /_/tests/223.pl
144: SCRIPT_NAME : /_/tests/223.pl
145: SERVER_NAME : www.parser.ru</pre>
146: <h3>Body</h3>
147: <pre></pre>
148: <hr />
149: 18. empty custompost : {
150: "name":"223.pl",
151: "size":164,
152: "mode":"text",
153: "content-type":"text\/plain",
154: }
155: <h3>Headers</h3>
156: <pre>HTTP_ACCEPT : */*
157: HTTP_HOST : www.parser.ru
158: REQUEST_METHOD : POST
159: REQUEST_URI : /_/tests/223.pl
160: SCRIPT_NAME : /_/tests/223.pl
161: SERVER_NAME : www.parser.ru</pre>
162: <h3>Body</h3>
163: <pre></pre>
164: <hr />
165: 19. Type: curl.host,
1.3 moko 166: Source: load,
167: Comment: Couldn't resolve host name
E-mail: