--- parser3/www/htdocs/Attic/_bug.html 2004/03/10 10:04:30 1.30
+++ parser3/www/htdocs/Attic/_bug.html 2004/07/26 14:43:09 1.56
@@ -1,11 +1,11 @@
-@main[]
-$request:charset[windows-1251]
-$response:charset[windows-1251]
-$response:content-type[text/html]
-
-$xdoc[^xdoc::load[_bug.xml]]
-#^xdoc.string[]
-$nodes[^xdoc.select[//x:second][
- $.x[http://pif.design.ru/]
-]]
-^nodes._count[]
\ No newline at end of file
+^if(1){
+$response:download[
+# $.file[ptic.gif]
+ $.file[empty]
+ $.name[ptic2.gif]
+ $.mdate[^date::now(-1)]
+]
+}{
+ $response:download[^file::load[binary;ptic.gif]]
+}
+OK
\ No newline at end of file