--- parser3/tests/results/346-curl.processed 2016/08/04 17:01:30 1.4 +++ parser3/tests/results/346-curl.processed 2020/10/14 21:19:06 1.11 @@ -1,67 +1,81 @@ Content-Type: text/html -Content-Length: 2569 +Content-Length: 3849 -Type: curl, +1. Type: curl, Source: info, Comment: outside of 'session' operator -Type: curl, +2. Type: curl, Source: options, Comment: outside of 'session' operator -Type: curl, +3. Type: curl, Source: options, Comment: outside of 'session' operator -Type: curl, +4. 5. Type: curl, Source: options, Comment: failed to set option 'library': already loaded -Type: curl, +6. Type: curl, Source: options, Comment: failed to set option 'url': invalid url scheme 'ftp://parser.ru/' -Type: curl, +7. Type: curl, Source: name, Comment: is hash, form option value can be string, table or file only -Type: curl, +8. Type: parser.runtime, Source: options, -Comment: failed to set option 'httppost': value must be a hash -Type: curl, +Comment: failed to set option 'httppost': value must have hash representation +8.1. Type: parser.runtime, +Source: options, +Comment: failed to set option 'httppost': value must have hash representation +8.2. Type: parser.runtime, +Source: options, +Comment: failed to set option 'httpheader': value must have hash representation +8.3. Type: parser.runtime, +Source: options, +Comment: failed to set option 'httpheader': value must have hash representation +8.4. 9. Type: curl, Source: options, Comment: called with invalid option 'no-such-option' -Type: curl, +10. Type: curl, Source: info, Comment: called with invalid parameter 'no-such-info' -{ -"size_download":0, -"request_size":0, -"content_type":"", +11. { +"scheme":"", +"http_version":"none", "effective_url":"", -"header_size":0, -"redirect_time":0, +"content_type":"", +"response_code":0, +"os_errno":0, +"namelookup_time":0, "appconnect_time":0, "pretransfer_time":0, -"num_connects":0, -"primary_ip":"", -"speed_upload":0, -"speed_download":0, -"redirect_url":"", -"proxyauth_avail":0, "starttransfer_time":0, "connect_time":0, -"namelookup_time":0, -"redirect_count":0, -"httpauth_avail":0, "total_time":0, "content_length_download":-1, -"os_errno":0, -"ssl_verifyresult":0, -"response_code":0, "content_length_upload":-1, -"size_upload":0 +"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 } -Parser3 tests (make tests). +12. Parser3 tests (make tests). Don't delete or modify them. bytes 4-62/63 -Don't delete or modify them. +13. Don't delete or modify them. bytes 33-62/63 -text : { +13.1. Type: curl, +Source: unknown, +Comment: invalid http_version option value +13.2. 14. text : { "name":"test.txt", "size":265, "mode":"binary", @@ -80,7 +94,7 @@ SERVER_NAME : www.parser.ru

Body

test

-binary : { +15. binary : { "name":"223.pl", "size":255, "mode":"text", @@ -101,14 +115,15 @@ SERVER_NAME : www.parser.ru v"
-empty post : { +16. empty post : { "name":"223.pl", -"size":183, +"size":232, "mode":"text", "content-type":"text\/plain", }

Headers

CONTENT_LENGTH	: 0
+CONTENT_TYPE	: application/x-www-form-urlencoded
 HTTP_ACCEPT	: */*
 HTTP_HOST	: www.parser.ru
 REQUEST_METHOD	: POST
@@ -118,6 +133,38 @@ SERVER_NAME	: www.parser.ru

Body


 
-Type: curl.host, -Source: load, +17. empty get : { +"name":"223.pl", +"size":153, +"mode":"text", +"content-type":"text\/plain", +} +

Headers

+
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
+

Body

+

+
+18. empty custompost : { +"name":"223.pl", +"size":164, +"mode":"text", +"content-type":"text\/plain", +} +

Headers

+
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
+

Body

+

+
+19. Type: curl.host, +Source: http://no-such-domain.parser.ru/, Comment: Couldn't resolve host name