Diff for /parser3/tests/346-curl.html between versions 1.5 and 1.6

version 1.5, 2016/08/04 20:13:48 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[ $.httppost[string] ] }          8. ^try-catch{ ^curl:options[ $.httppost[string] ] }
         ^try-catch{ ^curl:options[ $.no-such-option[] ] }          9. ^try-catch{ ^curl:options[ $.no-such-option[] ] }
         ^try-catch{ ^curl:info[no-such-info] }          10. ^try-catch{ ^curl:info[no-such-info] }
         ^json:string[^curl: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;  14. ^show[text;
         $.postfields[test]          $.postfields[test]
         $.useragent[^taint[parser 3]]          $.useragent[^taint[parser 3]]
   
Line 43 Line 43
         $.content-type[something/text]          $.content-type[something/text]
 ]  ]
   
 ^show[binary;  15. ^show[binary;
         $.postfields[^file::load[binary;155.cfg]]          $.postfields[^file::load[binary;155.cfg]]
 ]  ]
   
 ^show[empty post;  16. ^show[empty post;
         $.httppost[]          $.httppost[]
 ]  ]
   
 ^try-catch{ ^curl:load[ $.url[http://no-such-domain.parser.ru/] ] }  17. ^try-catch{ ^curl:load[ $.url[http://no-such-domain.parser.ru/] ] }
   
 @show[title;options][f;text;t;post]  @show[title;options][f;text;t;post]
   

Removed from v.1.5  
changed lines
  Added in v.1.6


E-mail: