On Friday 12 August 2005 04:03, Stuart Bishop wrote:
> Currently if Z3 parses multiple headers with the same key, only the last is
> used.

Eek!!!

> >From reading section 4.2 of http://www.faqs.org/rfcs/rfc2616.html , I
>
> suspect the best way of handling this situation is to concatenate the
> duplicate headers into a comma seperated string.

Or create a list.

> I've noticed this when running Z3 behind cascading proxies and found I was
> losing X-Forwarded-For headers.
>
> Does this seem like reasonable behavior? Some people may actually be
> relying on this (broken) behavior, but I have a need of accessing all the
> headers and don't want to have to use yet another tier to concatenate the
> headers as allowed by the RFC ;)

Please feel free to fix this ridiculous bug.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
_______________________________________________
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to