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

version 1.6, 2016/09/26 20:45:35 version 1.8, 2017/11/28 22:58:36
Line 12 Line 12
         6. ^try-catch{ ^curl:options[ $.url[ftp://parser.ru/] ] }          6. ^try-catch{ ^curl:options[ $.url[ftp://parser.ru/] ] }
         7. ^try-catch{ ^curl:options[ $.httppost[ $.name[ $.hash[] ]] ] }          7. ^try-catch{ ^curl:options[ $.httppost[ $.name[ $.hash[] ]] ] }
         8. ^try-catch{ ^curl:options[ $.httppost[string] ] }          8. ^try-catch{ ^curl:options[ $.httppost[string] ] }
           8.1. ^try-catch{ ^curl:options[ $.httppost{code} ] }
   
           8.2. ^try-catch{ ^curl:options[ $.httpheader[string] ] }
           8.3. ^try-catch{ ^curl:options[ $.httpheader{code} ] }
           8.4. ^try-catch{ ^curl:options[ $.httpheader{  } ] }
   
         9. ^try-catch{ ^curl:options[ $.no-such-option[] ] }          9. ^try-catch{ ^curl:options[ $.no-such-option[] ] }
         10. ^try-catch{ ^curl:info[no-such-info] }          10. ^try-catch{ ^curl:info[no-such-info] }
         11. ^json:string[^curl:info[]]          11. ^json:string[^curl:info[]]
Line 47 Line 53
         $.postfields[^file::load[binary;155.cfg]]          $.postfields[^file::load[binary;155.cfg]]
 ]  ]
   
   ^curl:session{
   
 16. ^show[empty post;  16. ^show[empty post;
           $.post(true)
   ]
   
   17. ^show[empty get;
         $.httppost[]          $.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]  @show[title;options][f;text;t;post]
   

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


E-mail: