Annotation of parser3/tests/339.html, revision 1.1
1.1 ! moko 1: @main[]
! 2: ^load[http://www.parser.ru/_/tests/nph-339.pl]
! 3: ^load[http://www.parser.ru/_/tests/nph-339.pl?name=1; $.charset[windows-1251]]
! 4: ^load[http://www.parser.ru/_/tests/nph-339.pl/; $.response-charset[UTF-8] ]
! 5: #^curl[]
! 6:
! 7: @load[url;options]
! 8: $headers[ $.test[русский] ]
! 9: $form[ $.имя[русский] ]
! 10: ^show[file;^file::load[text;$url; ^hash::create[$options] $.headers[$headers] $.form[$form] $.method[POST] $.enctype[multipart/form-data] ]]
! 11: #^show[curl;^curl:load[ ^hash::create[$options] $.url[$url] $.httpheader[$headers] $.httppost[$form] ]]
! 12:
! 13: @curl[]
! 14: ^curl:session{
! 15: $s[^curl:version[]]
! 16: ^json:string[^curl:info[]]
! 17: }
! 18: $s[^curl:version[]]
! 19: ^try-catch{^curl:load[ $.url[ftp://parser.ru/] ]}
! 20:
! 21:
! 22: @show[title;f]
! 23: $title : ^json:string[$f; $.indent(true) $.file[text] ]
E-mail: