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?

...although the class docstring says that the environment variable names
are as in the CGI specification
(http://hoohoo.ncsa.uiuc.edu/cgi/env.html). It doesn't say that they
should **only** be from the CGI specification, though.

--
Steve Alexander
Software Engineer
Cat-Box limited
http://www.cat-box.net

_______________________________________________
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