Steve Alexander wrote:
> My question is "why was __getitem__ of HTTPRequest.py designed this
> way?".
> 
> Is there a good reason that it filters the keys according to membership
> of a standard-cgi-keys list, or whether they start with 'HTTP_' ?
> Would there be any disadvantage to altering __getitem__ so that it
> behaves according to its docstring?

I looked at the entire history of that code.  This algorithm dates back
to 1996.

I think the issue is that environ may include the Zope process
environment variables, such as PATH, LD_LIBRARY_PATH, CVSROOT, USER,
etc.  Publish.publish_module() appears to pass in os.environ .  That's
just a quick analysis, though.

Shane

_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to