--- parser3/tests/results/346-curl.processed 2016/09/26 20:45:35 1.5 +++ parser3/tests/results/346-curl.processed 2017/11/28 22:05:40 1.8 @@ -1,5 +1,5 @@ Content-Type: text/html -Content-Length: 2628 +Content-Length: 3751 1. Type: curl, Source: info, @@ -19,16 +19,26 @@ Comment: failed to set option 'url': inv 7. Type: curl, Source: name, Comment: is hash, form option value can be string, table or file only -8. Type: curl, +8. Type: parser.runtime, Source: options, -Comment: failed to set option 'httppost': value must be a hash -9. 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' 10. Type: curl, Source: info, Comment: called with invalid parameter 'no-such-info' 11. { +"http_version":"none", "size_download":0, "request_size":0, "content_type":"", @@ -38,6 +48,7 @@ Comment: called with invalid parameter ' "appconnect_time":0, "pretransfer_time":0, "num_connects":0, +"scheme":"", "primary_ip":"", "speed_upload":0, "speed_download":0, @@ -48,6 +59,7 @@ Comment: called with invalid parameter ' "namelookup_time":0, "redirect_count":0, "httpauth_avail":0, +"protocol":0, "total_time":0, "content_length_download":-1, "os_errno":0, @@ -103,12 +115,13 @@ v"
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 +131,38 @@ SERVER_NAME	: www.parser.ru

Body


 
-17. Type: curl.host, +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: load, Comment: Couldn't resolve host name