1.1 --- a/WebStack/Adapters/Zope.py Sun Oct 17 19:31:04 2004 +0000
1.2 +++ b/WebStack/Adapters/Zope.py Sun Oct 17 19:31:09 2004 +0000
1.3 @@ -5,6 +5,7 @@
1.4 """
1.5
1.6 import WebStack.Zope
1.7 +from WebStack.Generic import EndOfResponse
1.8
1.9 from Globals import Persistent
1.10 from OFS.SimpleItem import Item
1.11 @@ -49,7 +50,10 @@
1.12 raise "Internal Error"
1.13
1.14 if self.webstack_authenticator is None or self.webstack_authenticator.authenticate(trans):
1.15 - self.webstack_resource.respond(trans)
1.16 + try:
1.17 + self.webstack_resource.respond(trans)
1.18 + except EndOfResponse:
1.19 + pass
1.20 else:
1.21 #trans.set_header_value("WWW-Authenticate", '%s realm="%s"' % (
1.22 # self.webstack_authenticator.get_auth_type(), self.webstack_authenticator.get_realm()))