[PD-dev] pddp style guide

Krzysztof Czaja czaja at chopin.edu.pl
Mon May 2 09:21:30 CEST 2005


Krzysztof Czaja wrote:
...
> no, it is much simpler -- when "pddpserver" receives a GET request
> for a path, it might do just this:
> 
> if {[string equal [file extension $path] .pd] && [otherconditions]} {
>    pd [concat pd open [file tail $path] [file dirname $path] \;]
>    set path [htmlpageof $path]
> }

-    set path [htmlpageof $path]
+    respondwithstatus 204
+    return

Krzysztof




More information about the Pd-dev mailing list