@staticmethod
def _unfoldHeaders(headers):
    """
        A host may send multiple headers using the same key, which Chrome folds
        into the same item. Separate those.
        """
    items = []
    for k in headers.keys():
        for v in headers[k].split('\n'):
            items.append((k, v))
    return items
