[Zope3-dev] Re: Does WebDAV work on X3 Beta1?
Jim Fulton
jim at zope.com
Wed Jun 30 10:59:54 EDT 2004
Philipp von Weitershausen wrote:
> Tres,
>
>>> Joachim Werner wrote:
>>>
>>>>> If yes, do I have to configure a WebDAV port? How?
>>>
>>>
>>>
>>> No. Zope2 needed this crazy thing of a WebDAV port because it
>>> couldn't tell browser and dav requests apart. Zope3 identifies a
>>> WebDAV request and uses different views than for browser request...
>>
>>
>> Remind me how Zope3 expects to distinguish between a "normal" GET and
>> a WebDAV GET?
>
>
> Well, in Zope3 a DAV request is synonymous to an HTTP request. All DAV
> views are views of type HTTP. Whether an incoming HTTP request is pure
> HTTP (incl. DAV), XMLRPC or a browser request is decided in
> HTTPPublicationRequestFactory
> (Zope3/src/zope/app/publication/httpfactory.py)
>
> So, uh, it seems GET always defaults to BrowserRequest... Hmmmm.
This is still an isue. In many cases, we can avoid the isue by providing
separate editing and use locations, as we do for view templates.
We should probably add a separate webdav server on a separate port.
Jim
--
Jim Fulton mailto:jim at zope.com Python Powered!
CTO (540) 361-1714 http://www.python.org
Zope Corporation http://www.zope.com http://www.zope.org
More information about the Zope3-dev
mailing list