--- parser3/tests/346-curl.html 2016/12/02 22:27:18 1.7 +++ parser3/tests/346-curl.html 2017/12/08 00:55:21 1.9 @@ -38,6 +38,9 @@ ]] $f.text $f.CONTENT-RANGE + + 13.1. ^try-catch{ ^curl:options[ $.http_version[unknown] ] } + 13.2. ^try-catch{ ^curl:options[ $.http_version[1.0] ] } } 14. ^show[text; @@ -53,11 +56,24 @@ $.postfields[^file::load[binary;155.cfg]] ] +^curl:session{ + 16. ^show[empty post; + $.post(true) +] + +17. ^show[empty get; $.httppost[] + $.post(false) +] + +} + +18. ^show[empty custompost; + $.customrequest[POST] ] -17. ^try-catch{ ^curl:load[ $.url[http://no-such-domain.parser.ru/] ] } +19. ^try-catch{ ^curl:load[ $.url[http://no-such-domain.parser.ru/] ] } @show[title;options][f;text;t;post]