[Zope] possible bug when creating the request environment (headers)

Dieter Maurer dieter at handshake.de
Thu Sep 9 14:59:04 EDT 2004


Sascha Ottolski wrote at 2004-9-9 17:36 +0200:
> ...
>I already sent this to the pound list, and was told that having multiple 
>headers with the same value is allowed, which seems to be correct 
>according to RFC2616 (HTTP 1.1):
>
>"Multiple message-header fields with the same field-name MAY be present 
>in a message if and only if the entire field-value for that header 
>field is defined as a comma-separated list [i.e., #(values)]. It MUST 
>be possible to combine the multiple header fields into one "field-name: 
>field-value" pair, without changing the semantics of the message, by 
>appending each subsequent field-value to the first, each separated by a 
>comma.
> ...

Obviously a bug. File a bug report.

I think Python's "cgi.py" is responsible for the processing
of request headers.

Maybe, you file two reports (one in the Python tracker on
SourceForge, one in Zope's bug tracker) with references to each other.

-- 
Dieter


More information about the Zope mailing list