Annotation of parser3/tests/results/346-curl.processed, revision 1.13
1.13 ! moko 1: Content-Type: text/html
! 2: Content-Length: 3962
! 3:
1.12 moko 4: 1. Exception type: curl,
1.2 moko 5: Source: info,
6: Comment: outside of 'session' operator
1.12 moko 7: 2. Exception type: curl,
1.2 moko 8: Source: options,
9: Comment: outside of 'session' operator
1.12 moko 10: 3. Exception type: curl,
1.2 moko 11: Source: options,
12: Comment: outside of 'session' operator
1.12 moko 13: 4. 5. Exception type: curl,
1.2 moko 14: Source: options,
15: Comment: failed to set option 'library': already loaded
1.12 moko 16: 6. Exception type: curl,
1.2 moko 17: Source: options,
18: Comment: failed to set option 'url': invalid url scheme 'ftp://parser.ru/'
1.12 moko 19: 7. Exception type: curl,
1.3 moko 20: Source: name,
21: Comment: is hash, form option value can be string, table or file only
1.12 moko 22: 8. Exception type: parser.runtime,
1.3 moko 23: Source: options,
1.6 moko 24: Comment: failed to set option 'httppost': value must have hash representation
1.12 moko 25: 8.1. Exception type: parser.runtime,
1.6 moko 26: Source: options,
27: Comment: failed to set option 'httppost': value must have hash representation
1.12 moko 28: 8.2. Exception type: parser.runtime,
1.6 moko 29: Source: options,
30: Comment: failed to set option 'httpheader': value must have hash representation
1.12 moko 31: 8.3. Exception type: parser.runtime,
1.6 moko 32: Source: options,
33: Comment: failed to set option 'httpheader': value must have hash representation
1.12 moko 34: 8.4. 9. Exception type: curl,
1.4 moko 35: Source: options,
1.3 moko 36: Comment: called with invalid option 'no-such-option'
1.12 moko 37: 10. Exception type: curl,
1.3 moko 38: Source: info,
39: Comment: called with invalid parameter 'no-such-info'
1.5 moko 40: 11. {
1.11 moko 41: "scheme":"",
1.7 moko 42: "http_version":"none",
1.11 moko 43: "effective_url":"",
1.1 moko 44: "content_type":"",
1.11 moko 45: "response_code":0,
46: "os_errno":0,
47: "namelookup_time":0,
1.1 moko 48: "appconnect_time":0,
49: "pretransfer_time":0,
50: "starttransfer_time":0,
51: "connect_time":0,
52: "total_time":0,
53: "content_length_download":-1,
54: "content_length_upload":-1,
1.11 moko 55: "header_size":0,
56: "request_size":0,
57: "size_download":0,
58: "size_upload":0,
59: "speed_download":0,
60: "speed_upload":0,
61: "num_connects":0,
62: "primary_ip":"",
63: "httpauth_avail":0,
64: "proxyauth_avail":0,
65: "redirect_count":0,
66: "redirect_time":0,
67: "redirect_url":"",
68: "ssl_verifyresult":0
1.1 moko 69: }
1.5 moko 70: 12. Parser3 tests (make tests).
1.12 moko 71: Don't delete or modify them.
1.3 moko 72: bytes 4-62/63
1.12 moko 73: 13. Don't delete or modify them.
1.3 moko 74: bytes 33-62/63
1.12 moko 75: 13.1. Exception type: curl,
1.10 moko 76: Source: unknown,
77: Comment: invalid http_version option value
78: 13.2. 14. text : {
1.3 moko 79: "name":"test.txt",
80: "size":265,
81: "mode":"binary",
82: "content-type":"something\/text",
83: }
84: <h3>Headers</h3>
85: <pre>CONTENT_LENGTH : 4
86: CONTENT_TYPE : application/x-www-form-urlencoded
87: HTTP_ACCEPT : */*
88: HTTP_HOST : www.parser.ru
89: HTTP_USER_AGENT : parser%203
90: REQUEST_METHOD : POST
91: REQUEST_URI : /_/tests/223.pl
92: SCRIPT_NAME : /_/tests/223.pl
93: SERVER_NAME : www.parser.ru</pre>
94: <h3>Body</h3>
95: <pre>test</pre>
96: <hr />
1.5 moko 97: 15. binary : {
1.3 moko 98: "name":"223.pl",
99: "size":255,
100: "mode":"text",
101: "content-type":"text\/plain",
102: }
103: <h3>Headers</h3>
104: <pre>CONTENT_LENGTH : 22
105: CONTENT_TYPE : application/x-www-form-urlencoded
106: HTTP_ACCEPT : */*
107: HTTP_HOST : www.parser.ru
108: REQUEST_METHOD : POST
109: REQUEST_URI : /_/tests/223.pl
110: SCRIPT_NAME : /_/tests/223.pl
111: SERVER_NAME : www.parser.ru</pre>
112: <h3>Body</h3>
113: <pre>"a" "b"
114: "av av" "b
115: v"
116: </pre>
117: <hr />
1.5 moko 118: 16. empty post : {
1.4 moko 119: "name":"223.pl",
1.8 moko 120: "size":232,
1.4 moko 121: "mode":"text",
122: "content-type":"text\/plain",
123: }
124: <h3>Headers</h3>
125: <pre>CONTENT_LENGTH : 0
1.8 moko 126: CONTENT_TYPE : application/x-www-form-urlencoded
1.4 moko 127: HTTP_ACCEPT : */*
128: HTTP_HOST : www.parser.ru
129: REQUEST_METHOD : POST
130: REQUEST_URI : /_/tests/223.pl
131: SCRIPT_NAME : /_/tests/223.pl
132: SERVER_NAME : www.parser.ru</pre>
133: <h3>Body</h3>
134: <pre></pre>
135: <hr />
1.8 moko 136: 17. empty get : {
137: "name":"223.pl",
138: "size":153,
139: "mode":"text",
140: "content-type":"text\/plain",
141: }
142: <h3>Headers</h3>
143: <pre>HTTP_ACCEPT : */*
144: HTTP_HOST : www.parser.ru
145: REQUEST_METHOD : GET
146: REQUEST_URI : /_/tests/223.pl
147: SCRIPT_NAME : /_/tests/223.pl
148: SERVER_NAME : www.parser.ru</pre>
149: <h3>Body</h3>
150: <pre></pre>
151: <hr />
152: 18. empty custompost : {
153: "name":"223.pl",
154: "size":164,
155: "mode":"text",
156: "content-type":"text\/plain",
157: }
158: <h3>Headers</h3>
159: <pre>HTTP_ACCEPT : */*
160: HTTP_HOST : www.parser.ru
161: REQUEST_METHOD : POST
162: REQUEST_URI : /_/tests/223.pl
163: SCRIPT_NAME : /_/tests/223.pl
164: SERVER_NAME : www.parser.ru</pre>
165: <h3>Body</h3>
166: <pre></pre>
167: <hr />
1.12 moko 168: 19. Exception type: curl.host,
1.13 ! moko 169: Source: http://no-such-domain.parser.ru/
E-mail: