I'm looking at using some other methods in my controllers (e.g.
OPTIONS, PROPFIND from WebDAV). I have a controller which simply does
m.write, but it never actually gets called.

I modified httpserver.py so that it would accept an OPTIONS request
without sending back a 501 error, by simply adding

    do_PUT = do_LOCK = do_UNLOCK = do_PROPFIND = do_OPTIONS = do_POST =
do_GET = do_HEAD = do_DELETE = do_PUT = do_TRACE = \
        WSGIHandlerMixin.wsgi_execute

I am making a request that looks like this:

========= Outbound Message =========
OPTIONS /tester/ HTTP/1.1
Host: localhost:5000
Connection: Keep-Alive, TE
TE: trailers, deflate, gzip, compress
User-Agent: UCI DAV Explorer/0.91 RPT-HTTPClient/0.3-3E
Translate: f
Accept-Encoding: deflate, gzip, x-gzip, compress, x-compress

Hope this helps.

Neil


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss
-~----------~----~----~----~------~----~------~--~---

Reply via email to