[Zope-CVS] CVS: Products/CookieCrumbler - CookieCrumbler.py:1.13
Shane Hathaway
shane@zope.com
Mon, 28 Apr 2003 17:16:22 -0400
Update of /cvs-repository/Products/CookieCrumbler
In directory cvs.zope.org:/tmp/cvs-serv28278
Modified Files:
CookieCrumbler.py
Log Message:
Accept authentication on HEAD requests. Thanks to Brent Hendricks.
=== Products/CookieCrumbler/CookieCrumbler.py 1.12 => 1.13 ===
--- Products/CookieCrumbler/CookieCrumbler.py:1.12 Wed Feb 19 14:03:20 2003
+++ Products/CookieCrumbler/CookieCrumbler.py Mon Apr 28 17:16:22 2003
@@ -123,7 +123,7 @@
if req.__class__ is not HTTPRequest:
return ATTEMPT_DISABLED
- if not req[ 'REQUEST_METHOD' ] in ( 'GET', 'PUT', 'POST' ):
+ if not req[ 'REQUEST_METHOD' ] in ( 'HEAD', 'GET', 'PUT', 'POST' ):
return ATTEMPT_DISABLED
if req.environ.has_key( 'WEBDAV_SOURCE_PORT' ):