Re: Running twisted http server - "Method Not Allowed" error

2005-05-31 Thread Richard Townsend
On 30 May 2005 23:50:45 -0700, [EMAIL PROTECTED] wrote: > from twisted.web import server, resource > from twisted.internet import reactor > > class Simple(resource.Resource): > isLeaf = True > def render_GET(self, request): > return "Hello, world!" > > site = server.Site(Simple()

Running twisted http server - "Method Not Allowed" error

2005-05-30 Thread qwejohn
Hello, I had posted this question in the twisted mailing list but did not got a solution ; I hope that the python Gurus of this forum can help me a bit. I am trying the exmaple in the python docs - http://twistedmatrix.com/users/warner/doc-latest/web/howto/using-twistedweb.xhtml Configuring a