--- parser3/www/htdocs/Attic/_bug.html 2004/03/10 10:42:12 1.31
+++ parser3/www/htdocs/Attic/_bug.html 2004/07/26 14:43:09 1.56
@@ -1,10 +1,11 @@
-@main[]
-$request:charset[windows-1251]
-$response:charset[windows-1251]
-$response:content-type[text/html]
-
-$xdoc[^xdoc::load[_bug.xml]]
-#^xdoc.string[]
-$xdoc.search-namespaces.x[http://pif.design.ru/]
-$nodes[^xdoc.select[//x:second]]
-^nodes._count[]
+^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