werkzeug.is_hop_by_hop_header

werkzeug.is_hop_by_hop_header(header)[source]

Check if a header is an HTTP/1.1 “Hop-by-Hop” header.

New in version 0.5.

Parameters:header – the header to test.
Returns:True if it’s an entity header, False otherwise.