
Hi, Moshe Zadka wrote:
On Tue, 13 May 2003, "Matthias Urlichs" <smurf@smurf.noris.de> wrote:
Here's a small patch to allow a twisted.web.static.Data element at the root of your web space.
This detracts functionality, not enhances it. If you really want it, it's better to have a
root = resource.Resource() root.putChild('', static.Data('text/plain', 'hello world'))
... but it's OK to do essentially the same thing to t.w.static.File? CVS: 2003-06-20 07:09:12 Make static.File used as a root resource work as expected when serving a file. IMHO: Please do either both, or neither. -- Matthias Urlichs | {M:U} IT Design @ m-u-it.de | smurf@smurf.noris.de Disclaimer: The quote was selected randomly. Really. | http://smurf.noris.de -- The State of California has no business subsidizing intellectual curiosity. -- Ronald Reagan