|
|
| version 1.3, 2016/08/04 16:27:39 | version 1.6, 2016/09/26 20:45:35 |
|---|---|
| Line 1 | Line 1 |
| @main[] | @main[] |
| ^try-catch{ ^curl:info[] } | 1. ^try-catch{ ^curl:info[] } |
| ^try-catch{ ^curl:options[ $.charset[UTF-8] ] } | 2. ^try-catch{ ^curl:options[ $.charset[UTF-8] ] } |
| ^try-catch{ ^curl:options[ $.url[http://parser.ru/] ] } | 3. ^try-catch{ ^curl:options[ $.url[http://parser.ru/] ] } |
| ^curl:session{ $s[^curl:version[]] } | 4. ^curl:session{ $s[^curl:version[]] } |
| ^try-catch{ ^curl:options[ $.library[no-such-library.so] ] } | 5. ^try-catch{ ^curl:options[ $.library[no-such-library.so] ] } |
| ^curl:session{ | ^curl:session{ |
| ^try-catch{ ^curl:options[ $.url[ftp://parser.ru/] ] } | 6. ^try-catch{ ^curl:options[ $.url[ftp://parser.ru/] ] } |
| ^try-catch{ ^curl:options[ $.httppost[ $.name[ $.hash[] ]] ] } | 7. ^try-catch{ ^curl:options[ $.httppost[ $.name[ $.hash[] ]] ] } |
| ^try-catch{ ^curl:options[ $.no-such-option[] ] } | 8. ^try-catch{ ^curl:options[ $.httppost[string] ] } |
| ^try-catch{ ^curl:info[no-such-info] } | 9. ^try-catch{ ^curl:options[ $.no-such-option[] ] } |
| ^json:string[^curl:info[]] | 10. ^try-catch{ ^curl:info[no-such-info] } |
| 11. ^json:string[^curl:info[]] | |
| ^curl:options[ | ^curl:options[ |
| $.url[http://www.parser.ru/_/tests/readme] | $.url[http://www.parser.ru/_/tests/readme] |
| $.timeout(5) | $.timeout(5) |
| ] | ] |
| $f[^curl:load[ | 12. $f[^curl:load[ |
| $.range[4-] | $.range[4-] |
| ]] | ]] |
| $f.text $f.CONTENT-RANGE | $f.text $f.CONTENT-RANGE |
| $f[^curl:load[ | 13. $f[^curl:load[ |
| $.range[33-] | $.range[33-] |
| ]] | ]] |
| $f.text $f.CONTENT-RANGE | $f.text $f.CONTENT-RANGE |
| } | } |
| ^show[text;^curl:load[ | 14. ^show[text; |
| $.url[http://www.parser.ru/_/tests/223.pl] | |
| $.timeout(5) | |
| $.postfields[test] | $.postfields[test] |
| $.useragent[^taint[parser 3]] | $.useragent[^taint[parser 3]] |
| $.name[test.txt] | $.name[test.txt] |
| $.mode[binary] | $.mode[binary] |
| $.content-type[something/text] | $.content-type[something/text] |
| ]] | ] |
| ^show[binary;^curl:load[ | 15. ^show[binary; |
| $.url[http://www.parser.ru/_/tests/223.pl] | |
| $.timeout(5) | |
| $.postfields[^file::load[binary;155.cfg]] | $.postfields[^file::load[binary;155.cfg]] |
| ]] | ] |
| ^try-catch{ ^curl:load[ $.url[http://no-such-domain.parser.ru/] ] } | 16. ^show[empty post; |
| $.httppost[] | |
| ] | |
| 17. ^try-catch{ ^curl:load[ $.url[http://no-such-domain.parser.ru/] ] } | |
| @show[title;options][f;text;t;post] | |
| $f[^curl:load[ | |
| $options | |
| $.timeout(5) | |
| $.url[http://www.parser.ru/_/tests/223.pl] | |
| ]] | |
| @show[title;f] | |
| $title : { | $title : { |
| "name":"$f.name", | "name":"$f.name", |
| "size":$f.size, | "size":$f.size, |