File:  [parser3project] / parser3 / tests / results / 346-curl.processed
Revision 1.13: download - view: text, annotated - select for diffs - revision graph
Fri Dec 13 13:54:03 2024 UTC (18 months, 4 weeks ago) by moko
Branches: MAIN
CVS tags: release_3_5_1, release_3_5_0, HEAD
^try-catch-filtered added and used

Content-Type: text/html
Content-Length: 3962

1. Exception type: curl,
Source: info,
Comment: outside of 'session' operator
2. Exception type: curl,
Source: options,
Comment: outside of 'session' operator
3. Exception type: curl,
Source: options,
Comment: outside of 'session' operator
4. 5. Exception type: curl,
Source: options,
Comment: failed to set option 'library': already loaded
6. Exception type: curl,
Source: options,
Comment: failed to set option 'url': invalid url scheme 'ftp://parser.ru/'
7. Exception type: curl,
Source: name,
Comment: is hash, form option value can be string, table or file only
8. Exception type: parser.runtime,
Source: options,
Comment: failed to set option 'httppost': value must have hash representation
8.1. Exception type: parser.runtime,
Source: options,
Comment: failed to set option 'httppost': value must have hash representation
8.2. Exception type: parser.runtime,
Source: options,
Comment: failed to set option 'httpheader': value must have hash representation
8.3. Exception type: parser.runtime,
Source: options,
Comment: failed to set option 'httpheader': value must have hash representation
8.4. 9. Exception type: curl,
Source: options,
Comment: called with invalid option 'no-such-option'
10. Exception type: curl,
Source: info,
Comment: called with invalid parameter 'no-such-info'
11. {
"scheme":"",
"http_version":"none",
"effective_url":"",
"content_type":"",
"response_code":0,
"os_errno":0,
"namelookup_time":0,
"appconnect_time":0,
"pretransfer_time":0,
"starttransfer_time":0,
"connect_time":0,
"total_time":0,
"content_length_download":-1,
"content_length_upload":-1,
"header_size":0,
"request_size":0,
"size_download":0,
"size_upload":0,
"speed_download":0,
"speed_upload":0,
"num_connects":0,
"primary_ip":"",
"httpauth_avail":0,
"proxyauth_avail":0,
"redirect_count":0,
"redirect_time":0,
"redirect_url":"",
"ssl_verifyresult":0
}
12. Parser3 tests (make tests).
Don't delete or modify them.
bytes 4-62/63
13. Don't delete or modify them.
bytes 33-62/63
13.1. Exception type: curl,
Source: unknown,
Comment: invalid http_version option value
13.2. 14. text : {
"name":"test.txt",
"size":265,
"mode":"binary",
"content-type":"something\/text",
}
<h3>Headers</h3>
<pre>CONTENT_LENGTH	: 4
CONTENT_TYPE	: application/x-www-form-urlencoded
HTTP_ACCEPT	: */*
HTTP_HOST	: www.parser.ru
HTTP_USER_AGENT	: parser%203
REQUEST_METHOD	: POST
REQUEST_URI	: /_/tests/223.pl
SCRIPT_NAME	: /_/tests/223.pl
SERVER_NAME	: www.parser.ru</pre>
<h3>Body</h3>
<pre>test</pre>
<hr />
15. binary : {
"name":"223.pl",
"size":255,
"mode":"text",
"content-type":"text\/plain",
}
<h3>Headers</h3>
<pre>CONTENT_LENGTH	: 22
CONTENT_TYPE	: application/x-www-form-urlencoded
HTTP_ACCEPT	: */*
HTTP_HOST	: www.parser.ru
REQUEST_METHOD	: POST
REQUEST_URI	: /_/tests/223.pl
SCRIPT_NAME	: /_/tests/223.pl
SERVER_NAME	: www.parser.ru</pre>
<h3>Body</h3>
<pre>"a"	"b"
"av	av"	"b
v"
</pre>
<hr />
16. empty post : {
"name":"223.pl",
"size":232,
"mode":"text",
"content-type":"text\/plain",
}
<h3>Headers</h3>
<pre>CONTENT_LENGTH	: 0
CONTENT_TYPE	: application/x-www-form-urlencoded
HTTP_ACCEPT	: */*
HTTP_HOST	: www.parser.ru
REQUEST_METHOD	: POST
REQUEST_URI	: /_/tests/223.pl
SCRIPT_NAME	: /_/tests/223.pl
SERVER_NAME	: www.parser.ru</pre>
<h3>Body</h3>
<pre></pre>
<hr />
17. empty get : {
"name":"223.pl",
"size":153,
"mode":"text",
"content-type":"text\/plain",
}
<h3>Headers</h3>
<pre>HTTP_ACCEPT	: */*
HTTP_HOST	: www.parser.ru
REQUEST_METHOD	: GET
REQUEST_URI	: /_/tests/223.pl
SCRIPT_NAME	: /_/tests/223.pl
SERVER_NAME	: www.parser.ru</pre>
<h3>Body</h3>
<pre></pre>
<hr />
18. empty custompost : {
"name":"223.pl",
"size":164,
"mode":"text",
"content-type":"text\/plain",
}
<h3>Headers</h3>
<pre>HTTP_ACCEPT	: */*
HTTP_HOST	: www.parser.ru
REQUEST_METHOD	: POST
REQUEST_URI	: /_/tests/223.pl
SCRIPT_NAME	: /_/tests/223.pl
SERVER_NAME	: www.parser.ru</pre>
<h3>Body</h3>
<pre></pre>
<hr />
19. Exception type: curl.host,
Source: http://no-such-domain.parser.ru/

E-mail: