"Philippe 'BooK' Bruhat" <[EMAIL PROTECTED]> writes:

> So, in the end, I'm just pointing at this "problem", asking if it's a
> bug or not.

I don't regard this as a bug.  It is much safer to keep headers
separated exactly as given and never try to guess which "," are real
separators.  That gives less surprises and it is possible to get the
values back exactly as given.  Also when we parse headers received
over a network connection we want HTTP::Headers to be able to
represent them exactly as given.

If you don't want to risk ending up with multi-valued header fields
joined by ", " just call the header() method in array context.  The
joining is just a convenience feature.

Regards,
Gisle

Reply via email to