[Checkins] SVN: z3c.soap/trunk/ remove exact version in setup.py. few cleanups
Jean-Fran�ois Roche
jfroche at jfroche.be
Mon Nov 17 18:19:20 EST 2008
Log message for revision 93064:
remove exact version in setup.py. few cleanups
Changed:
U z3c.soap/trunk/docs/HISTORY.txt
U z3c.soap/trunk/setup.py
U z3c.soap/trunk/z3c/soap/ftesting.zcml
U z3c.soap/trunk/z3c/soap/soap.py
U z3c.soap/trunk/z3c/soap/tests/soap_error.zcml
-=-
Modified: z3c.soap/trunk/docs/HISTORY.txt
===================================================================
--- z3c.soap/trunk/docs/HISTORY.txt 2008-11-17 23:14:33 UTC (rev 93063)
+++ z3c.soap/trunk/docs/HISTORY.txt 2008-11-17 23:19:20 UTC (rev 93064)
@@ -6,6 +6,10 @@
* Handle correctly Unauthorized exception
+* Add SOAP Access permission
+
+* Remove realm from response if Unauthorized is raised
+
0.1 - (2008-11-13)
------------------
Modified: z3c.soap/trunk/setup.py
===================================================================
--- z3c.soap/trunk/setup.py 2008-11-17 23:14:33 UTC (rev 93063)
+++ z3c.soap/trunk/setup.py 2008-11-17 23:19:20 UTC (rev 93064)
@@ -29,8 +29,8 @@
zip_safe=False,
install_requires=[
'setuptools',
- 'Products.CMFCore==2.1.1',
- 'Products.PluggableAuthService==1.5.3',
+ 'Products.CMFCore',
+ 'Products.PluggableAuthService',
'ZSI'],
entry_points="""
# -*- Entry points: -*-
Modified: z3c.soap/trunk/z3c/soap/ftesting.zcml
===================================================================
--- z3c.soap/trunk/z3c/soap/ftesting.zcml 2008-11-17 23:14:33 UTC (rev 93063)
+++ z3c.soap/trunk/z3c/soap/ftesting.zcml 2008-11-17 23:19:20 UTC (rev 93064)
@@ -1,6 +1,4 @@
<configure xmlns="http://namespaces.zope.org/zope"
- xmlns:browser="http://namespaces.zope.org/browser"
- xmlns:meta="http://namespaces.zope.org/meta"
i18n_domain="z3c.soap">
<include package="Products.Five"/>
Modified: z3c.soap/trunk/z3c/soap/soap.py
===================================================================
--- z3c.soap/trunk/z3c/soap/soap.py 2008-11-17 23:14:33 UTC (rev 93063)
+++ z3c.soap/trunk/z3c/soap/soap.py 2008-11-17 23:19:20 UTC (rev 93064)
@@ -130,10 +130,6 @@
f=None
if t == 'Unauthorized' or t == Unauthorized or (
isinstance(t, types.ClassType) and issubclass(t, Unauthorized)):
- realm=self._real.realm
- if realm:
- self._real.setHeader('WWW-Authenticate',
- 'basic realm="%s"' % realm, 1)
self._real.setStatus(401)
f = ZSI.Fault(Fault.Server, "Not authorized")
elif not isinstance(v, Fault):
Modified: z3c.soap/trunk/z3c/soap/tests/soap_error.zcml
===================================================================
--- z3c.soap/trunk/z3c/soap/tests/soap_error.zcml 2008-11-17 23:14:33 UTC (rev 93063)
+++ z3c.soap/trunk/z3c/soap/tests/soap_error.zcml 2008-11-17 23:19:20 UTC (rev 93064)
@@ -2,7 +2,7 @@
xmlns:soap="http://namespaces.zope.org/soap"
i18n_domain="zope">
- <include package="soap" file="meta.zcml"/>
+ <include package="z3c.soap" file="meta.zcml"/>
<soap:view
name="test"
More information about the Checkins
mailing list