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