Annotation of parser3/tests/results/346-curl.processed, revision 1.5
1.1 moko 1: Content-Type: text/html
1.5 ! moko 2: Content-Length: 2628
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.5 ! moko 22: 8. Type: curl,
1.3 moko 23: Source: options,
1.4 moko 24: Comment: failed to set option 'httppost': value must be a hash
1.5 ! moko 25: 9. Type: curl,
1.4 moko 26: Source: options,
1.3 moko 27: Comment: called with invalid option 'no-such-option'
1.5 ! moko 28: 10. Type: curl,
1.3 moko 29: Source: info,
30: Comment: called with invalid parameter 'no-such-info'
1.5 ! moko 31: 11. {
1.1 moko 32: "size_download":0,
33: "request_size":0,
34: "content_type":"",
35: "effective_url":"",
36: "header_size":0,
37: "redirect_time":0,
38: "appconnect_time":0,
39: "pretransfer_time":0,
40: "num_connects":0,
41: "primary_ip":"",
42: "speed_upload":0,
43: "speed_download":0,
44: "redirect_url":"",
45: "proxyauth_avail":0,
46: "starttransfer_time":0,
47: "connect_time":0,
48: "namelookup_time":0,
49: "redirect_count":0,
50: "httpauth_avail":0,
51: "total_time":0,
52: "content_length_download":-1,
53: "os_errno":0,
54: "ssl_verifyresult":0,
55: "response_code":0,
56: "content_length_upload":-1,
57: "size_upload":0
58: }
1.5 ! moko 59: 12. Parser3 tests (make tests).
1.3 moko 60: Don't delete or modify them.
61: bytes 4-62/63
1.5 ! moko 62: 13. Don't delete or modify them.
1.3 moko 63: bytes 33-62/63
1.5 ! moko 64: 14. text : {
1.3 moko 65: "name":"test.txt",
66: "size":265,
67: "mode":"binary",
68: "content-type":"something\/text",
69: }
70: <h3>Headers</h3>
71: <pre>CONTENT_LENGTH : 4
72: CONTENT_TYPE : application/x-www-form-urlencoded
73: HTTP_ACCEPT : */*
74: HTTP_HOST : www.parser.ru
75: HTTP_USER_AGENT : parser%203
76: REQUEST_METHOD : POST
77: REQUEST_URI : /_/tests/223.pl
78: SCRIPT_NAME : /_/tests/223.pl
79: SERVER_NAME : www.parser.ru</pre>
80: <h3>Body</h3>
81: <pre>test</pre>
82: <hr />
1.5 ! moko 83: 15. binary : {
1.3 moko 84: "name":"223.pl",
85: "size":255,
86: "mode":"text",
87: "content-type":"text\/plain",
88: }
89: <h3>Headers</h3>
90: <pre>CONTENT_LENGTH : 22
91: CONTENT_TYPE : application/x-www-form-urlencoded
92: HTTP_ACCEPT : */*
93: HTTP_HOST : www.parser.ru
94: REQUEST_METHOD : POST
95: REQUEST_URI : /_/tests/223.pl
96: SCRIPT_NAME : /_/tests/223.pl
97: SERVER_NAME : www.parser.ru</pre>
98: <h3>Body</h3>
99: <pre>"a" "b"
100: "av av" "b
101: v"
102: </pre>
103: <hr />
1.5 ! moko 104: 16. empty post : {
1.4 moko 105: "name":"223.pl",
106: "size":183,
107: "mode":"text",
108: "content-type":"text\/plain",
109: }
110: <h3>Headers</h3>
111: <pre>CONTENT_LENGTH : 0
112: HTTP_ACCEPT : */*
113: HTTP_HOST : www.parser.ru
114: REQUEST_METHOD : POST
115: REQUEST_URI : /_/tests/223.pl
116: SCRIPT_NAME : /_/tests/223.pl
117: SERVER_NAME : www.parser.ru</pre>
118: <h3>Body</h3>
119: <pre></pre>
120: <hr />
1.5 ! moko 121: 17. Type: curl.host,
1.3 moko 122: Source: load,
123: Comment: Couldn't resolve host name
E-mail: