void clear()

Remove all headers. Some headers have system supplied values and for these the system supplied values will still be added to the collection of values for the header.

Source

void clear();