werkzeug.HeaderSet.discard

HeaderSet.discard(header)[source]

Like remove() but ignores errors.

Parameters:header – the header to be discarded.