werkzeug.remove_hop_by_hop_headers

werkzeug.remove_hop_by_hop_headers(headers)[source]

Remove all HTTP/1.1 “Hop-by-Hop” headers from a list or Headers object. This operation works in-place.

New in version 0.5.

Parameters:headers – a list or Headers object.