Hello,

I'd like to run over the request headers and concatenate all headers with 
the same name in on string where each value is separated by a comma. For 
example:

    Host: example.com
    Content-Type: text/html
    Custom-Header: value1
    Custom-Header: value2
    Custom-Header: value3

I'd like from this have a dictionary in the following form:

    {
        'host': 'example.com',
        'content-type': 'text/html',
        'custom-header': 'value1, value2, value3',
    }

So I wonder how multiple headers with the same name are represented within 
Pyramid? Is it a MultiDict or a list of values?

Regards,
Jimmy

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pylons-discuss.
For more options, visit https://groups.google.com/d/optout.

Reply via email to