|
|
| version 1.3, 2016/08/04 16:27:39 | version 1.9, 2017/11/29 19:06:24 |
|---|---|
| Line 1 | Line 1 |
| Content-Type: text/html | Content-Type: text/html |
| Content-Length: 2152 | Content-Length: 3737 |
| Type: curl, | 1. Type: curl, |
| Source: info, | Source: info, |
| Comment: outside of 'session' operator | Comment: outside of 'session' operator |
| Type: curl, | 2. Type: curl, |
| Source: options, | Source: options, |
| Comment: outside of 'session' operator | Comment: outside of 'session' operator |
| Type: curl, | 3. Type: curl, |
| Source: options, | Source: options, |
| Comment: outside of 'session' operator | Comment: outside of 'session' operator |
| Type: curl, | 4. 5. Type: curl, |
| Source: options, | Source: options, |
| Comment: failed to set option 'library': already loaded | Comment: failed to set option 'library': already loaded |
| Type: curl, | 6. Type: curl, |
| Source: options, | Source: options, |
| Comment: failed to set option 'url': invalid url scheme 'ftp://parser.ru/' | Comment: failed to set option 'url': invalid url scheme 'ftp://parser.ru/' |
| Type: curl, | 7. Type: curl, |
| Source: name, | Source: name, |
| Comment: is hash, form option value can be string, table or file only | 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 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, | Source: options, |
| Comment: called with invalid option 'no-such-option' | Comment: called with invalid option 'no-such-option' |
| Type: curl, | 10. Type: curl, |
| Source: info, | Source: info, |
| Comment: called with invalid parameter 'no-such-info' | Comment: called with invalid parameter 'no-such-info' |
| { | 11. { |
| "http_version":"none", | |
| "size_download":0, | "size_download":0, |
| "request_size":0, | "request_size":0, |
| "content_type":"", | "content_type":"", |
| Line 35 Comment: called with invalid parameter ' | Line 48 Comment: called with invalid parameter ' |
| "appconnect_time":0, | "appconnect_time":0, |
| "pretransfer_time":0, | "pretransfer_time":0, |
| "num_connects":0, | "num_connects":0, |
| "scheme":"", | |
| "primary_ip":"", | "primary_ip":"", |
| "speed_upload":0, | "speed_upload":0, |
| "speed_download":0, | "speed_download":0, |
| Line 53 Comment: called with invalid parameter ' | Line 67 Comment: called with invalid parameter ' |
| "content_length_upload":-1, | "content_length_upload":-1, |
| "size_upload":0 | "size_upload":0 |
| } | } |
| Parser3 tests (make tests). | 12. Parser3 tests (make tests). |
| Don't delete or modify them. | Don't delete or modify them. |
| bytes 4-62/63 | bytes 4-62/63 |
| Don't delete or modify them. | 13. Don't delete or modify them. |
| bytes 33-62/63 | bytes 33-62/63 |
| text : { | 14. text : { |
| "name":"test.txt", | "name":"test.txt", |
| "size":265, | "size":265, |
| "mode":"binary", | "mode":"binary", |
| Line 77 SERVER_NAME : www.parser.ru</pre> | Line 91 SERVER_NAME : www.parser.ru</pre> |
| <h3>Body</h3> | <h3>Body</h3> |
| <pre>test</pre> | <pre>test</pre> |
| <hr /> | <hr /> |
| binary : { | 15. binary : { |
| "name":"223.pl", | "name":"223.pl", |
| "size":255, | "size":255, |
| "mode":"text", | "mode":"text", |
| Line 98 SERVER_NAME : www.parser.ru</pre> | Line 112 SERVER_NAME : www.parser.ru</pre> |
| v" | v" |
| </pre> | </pre> |
| <hr /> | <hr /> |
| Type: curl.host, | 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. Type: curl.host, | |
| Source: load, | Source: load, |
| Comment: Couldn't resolve host name | Comment: Couldn't resolve host name |