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