[Product-Developers] Plone(?) Zope(?) Python(?) HTTP(?) security question
ken at sunward.org
Sun Jun 14 18:44:08 UTC 2009
Andreas Jung-5 wrote:
> Are you sure that you see is *really* a dict - take the debugger and
> figure that
> out. Nothing everything looking like a dict has to be a dict.
Here are two more event.log lines printed from my tool's submitRequest():
2009-06-14T13:31:25 INFO Groups/tools/s3_tool.py: submitRequestToS3(): end
type(response) = <class 'httplib2.Response'>
type(response.copy()) = <type 'dict'>
So presumably the httplib2.Response object was carrying some class security
info, and that's what evoked the error in my script. And the .copy()
method, applied to that object by submitRequest() (which has adequate
privileges), produced an actual Python dict. Right?
~ Thanks, Andras
View this message in context: http://n2.nabble.com/Plone%28-%29-Zope%28-%29-Python%28-%29-HTTP%28-%29-security-question-tp3076223p3076586.html
Sent from the Product Developers mailing list archive at Nabble.com.
More information about the Product-Developers