Function
mechanize._util.getheaders

Signature

getheaders(msg, name)

Documentation String

Get all values for a header.

This returns a list of values for headers given more than once; each value in the result list is stripped in the same way as the result of getheader(). If the header is not given, return an empty list.