Re: [Zope3-dev] Re: HTTP 405: Method Not Allowed

2005-04-15 Thread Albertas Agejevas
On Wed, Apr 13, 2005 at 10:47:15AM -0400, Stephan Richter wrote: > On Thursday 07 April 2005 16:06, Philipp von Weitershausen wrote: > > >   class MethodNotAllowed(Exception): > > >       implements(IMethodNotAllowed) > > > > > >       def __init__(self, object, request): > > >           self.allow

Re: [Zope3-dev] Re: HTTP 405: Method Not Allowed

2005-04-13 Thread Stephan Richter
On Thursday 07 April 2005 16:06, Philipp von Weitershausen wrote: > >   class MethodNotAllowed(Exception): > >       implements(IMethodNotAllowed) > > > >       def __init__(self, object, request): > >           self.allow = [name for name, adapter > >                         in zapi.getAdapters((o

[Zope3-dev] Re: HTTP 405: Method Not Allowed

2005-04-07 Thread Philipp von Weitershausen
Albertas Agejevas wrote: On Thu, Apr 07, 2005 at 10:06:38PM +0200, Philipp von Weitershausen wrote: Albertas Agejevas wrote: Currently, in the generic case, Zope 3 raises a ComponentLookupError in zope.app.publication.http line 74, and a 500 response is served. I can't find that particular line of

[Zope3-dev] Re: HTTP 405: Method Not Allowed

2005-04-07 Thread Albertas Agejevas
On Thu, Apr 07, 2005 at 10:06:38PM +0200, Philipp von Weitershausen wrote: > Albertas Agejevas wrote: > >Currently, in the generic case, Zope 3 raises a ComponentLookupError > >in zope.app.publication.http line 74, and a 500 response is served. > > I can't find that particular line of code. Are yo

[Zope3-dev] Re: HTTP 405: Method Not Allowed

2005-04-07 Thread Philipp von Weitershausen
Albertas Agejevas wrote: Hi, I discovered a problem with Zope 3 while developing ReSTive interfaces for schoolbell, which utilize the HTTPPublication and the HTTPRequestFactory. When the user sends a request for a method that is not supported by the object, the HTTP spec (RFC 2616) mandates respons