Martijn Pieters wrote:
>
> On Sun, Jun 14, 2009 at 20:44, Ken Winter <[email protected]> wrote:
>> 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?
>
> Almost. httplib2.Response is *missing* security info, while plain
> dicts have been cleared. See:
>
>
> http://docs.zope.org/zope2/zdgbook/source/Security.html#module-security-assertions
>
> for more information.
>
>
Thanks, everyone ~
It is helpful to have learned both the "why" of the problem and the "how" of
a couple quite workable solutions.
~ Ken
--
View this message in context:
http://n2.nabble.com/Plone%28-%29-Zope%28-%29-Python%28-%29-HTTP%28-%29-security-question-tp3076223p3078242.html
Sent from the Product Developers mailing list archive at Nabble.com.
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers