Annotation of parser3/tests/results/346-curl.processed, revision 1.4
1.1 moko 1: Content-Type: text/html
1.4 ! moko 2: Content-Length: 2569
1.1 moko 3:
1.2 moko 4: Type: curl,
5: Source: info,
6: Comment: outside of 'session' operator
7: Type: curl,
8: Source: options,
9: Comment: outside of 'session' operator
10: Type: curl,
11: Source: options,
12: Comment: outside of 'session' operator
13: Type: curl,
14: Source: options,
15: Comment: failed to set option 'library': already loaded
16: Type: curl,
17: Source: options,
18: Comment: failed to set option 'url': invalid url scheme 'ftp://parser.ru/'
1.3 moko 19: Type: curl,
20: Source: name,
21: Comment: is hash, form option value can be string, table or file only
22: Type: curl,
23: Source: options,
1.4 ! moko 24: Comment: failed to set option 'httppost': value must be a hash
! 25: Type: curl,
! 26: Source: options,
1.3 moko 27: Comment: called with invalid option 'no-such-option'
28: Type: curl,
29: Source: info,
30: Comment: called with invalid parameter 'no-such-info'
1.1 moko 31: {
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.3 moko 59: Parser3 tests (make tests).
60: Don't delete or modify them.
61: bytes 4-62/63
62: Don't delete or modify them.
63: bytes 33-62/63
64: text : {
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 />
83: binary : {
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.4 ! moko 104: empty post : {
! 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.3 moko 121: Type: curl.host,
122: Source: load,
123: Comment: Couldn't resolve host name
E-mail: