[Zope-dev] Curious about age old WebDAV decisions...
I've got a Folder (indirection) and a DTML Method (found) in the root of a Zope site. HEAD requests fail on the indirected DTML Method due to OFS.ObjectManager's __getitem__ method: def __getitem__(self, key): import pdb;pdb.set_trace() v=self._getOb(key, None) if v is not None: return v if hasattr(self, 'REQUEST'): request=self.REQUEST method=request.get('REQUEST_METHOD', 'GET') if request.maybe_webdav_client and not method in ('GET', 'POST'): return NullResource(self, key, request).__of__(self) raise KeyError, key I wasn't around during the development of the WebDAV code, so I'm loathe to just jump in and start changing things, but why isn't 'HEAD' exempted from the NullResource as well, given that HTTP specs state that HEAD *must* return the same headers that a GET would provide (ignoring for the moment the Collector issue thread over whether HEAD should provide the length of the source of a document or its fully rendered content - let's just try to make sure both methods work on the *same object*). What was the reasoning behind the decision? These changes happened way back in the Dark Ages (late March 1999 or so, earlier in the month, this code was added to OFS.Folder with the initial WebDAV support). A trip through the WayBackMachine™ shows no discussion in the Zope-dev lists in early 1999 when this was being worked on, and no real mention of WebDAV in Zope for most of the rest of that year (on Zope-dev or the general Zope list). Am I mistaking this for a problem? ~ [EMAIL PROTECTED] $ curl http://localhost:2277/found hello~ [EMAIL PROTECTED] $ curl http://localhost:2277/indirection/found hello~ [EMAIL PROTECTED] $ curl -I http://localhost:2277/found HTTP/1.1 200 OK Server: Apache Date: Wed, 28 Dec 2005 18:59:58 GMT Last-Modified: Wed, 28 Dec 2005 18:54:07 GMT Accept-Ranges: none Content-Type: text/html Content-Length: 5 ~ [EMAIL PROTECTED] $ curl -I http://localhost:2277/indirection/found HTTP/1.1 404 Not Found Server: Apache Date: Wed, 28 Dec 2005 19:00:10 GMT Bobo-Exception-Line: 63 Content-Length: 891 Bobo-Exception-Value: See the server error log for details Content-Type: text/html Accept-Ranges: none Bobo-Exception-File: NullResource.py Bobo-Exception-Type: NotFound Thanks, Zac ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Re: [ANN] Zope 2.9.0 beta 2 released
Andreas Jung wrote: --On 26. Dezember 2005 14:49:07 -0500 Tres Seaver <[EMAIL PROTECTED]> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andreas Jung wrote: on behalf of Zope Corporation and the Zope community I am pleased to announce the release of Zope 2.9.0 beta 2 (the x-mas release) Thanks for continuing to do these releases. In this case, I think we jumped the gun, because the Z2 branch left the Zope3 svn:externals set to a non-tagged release of Zope3. We need to get Z3 released *first*, The svn:externals were changed to point to the most current 3.2 version (using -r option). Jim suggested this since I was running out of time before x-mas (and now being on vacation with limited internet access). Yup, it was better to get a 2.9 beta in December based on a specific revision of 3.2 that tro wait until January to get a 2.9 based on a 3.2 beta, especially since the outstanding work for the 3.2 beta would not affect Zope 2. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://www.zope.com http://www.zope.org ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] Re: Directory structure on svn.zope.org
--On 25. Dezember 2005 18:48:22 +0100 Philipp von Weitershausen <[EMAIL PROTECTED]> wrote: Andreas Jung wrote: The top-level directory structure on svn.zope.org appears a bit messy to me. There we have the folders for the "large" projects CMF, Zope, Zope3 and lots modules that possibly don't belong there. Wouldn't it make sense to move them into a dedicated Zope3-modules folder (or choose another name)? -1 I am fine if this is intended behaviour. As Stephan pointed out there has been a discussion on this issue but I was not aware of that discussion so I asked about it :-) Also, what is "Zope-Products"? Seems like it's a bag for historical baggage. In that case it can go because that baggage is still in revision history on older release branches... Yes, I will remove this again..it does not make sense Andreas pgpr957xfpc7w.pgp Description: PGP signature ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] Zope tests: 8 OK
Summary of messages to the zope-tests list. Period Tue Dec 27 12:01:01 2005 UTC to Wed Dec 28 12:01:01 2005 UTC. There were 8 messages: 8 from Zope Unit Tests. Tests passed OK --- Subject: OK : Zope-2_6-branch Python-2.1.3 : Linux From: Zope Unit Tests Date: Tue Dec 27 21:02:15 EST 2005 URL: http://mail.zope.org/pipermail/zope-tests/2005-December/003866.html Subject: OK : Zope-2_6-branch Python-2.3.5 : Linux From: Zope Unit Tests Date: Tue Dec 27 21:03:46 EST 2005 URL: http://mail.zope.org/pipermail/zope-tests/2005-December/003867.html Subject: OK : Zope-2_7-branch Python-2.3.5 : Linux From: Zope Unit Tests Date: Tue Dec 27 21:05:16 EST 2005 URL: http://mail.zope.org/pipermail/zope-tests/2005-December/003868.html Subject: OK : Zope-2_7-branch Python-2.4.2 : Linux From: Zope Unit Tests Date: Tue Dec 27 21:06:46 EST 2005 URL: http://mail.zope.org/pipermail/zope-tests/2005-December/003869.html Subject: OK : Zope-2_8-branch Python-2.3.5 : Linux From: Zope Unit Tests Date: Tue Dec 27 21:08:16 EST 2005 URL: http://mail.zope.org/pipermail/zope-tests/2005-December/003870.html Subject: OK : Zope-2_8-branch Python-2.4.2 : Linux From: Zope Unit Tests Date: Tue Dec 27 21:09:46 EST 2005 URL: http://mail.zope.org/pipermail/zope-tests/2005-December/003871.html Subject: OK : Zope-2_9-branch Python-2.4.2 : Linux From: Zope Unit Tests Date: Tue Dec 27 21:11:16 EST 2005 URL: http://mail.zope.org/pipermail/zope-tests/2005-December/003872.html Subject: OK : Zope-trunk Python-2.4.2 : Linux From: Zope Unit Tests Date: Tue Dec 27 21:12:46 EST 2005 URL: http://mail.zope.org/pipermail/zope-tests/2005-December/003873.html ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )