removeAll method Null safety

void removeAll(
  1. String name
)

Removes all values for the specified header name.

Some headers have system supplied values which cannot be removed. All other values for name are removed. If there are no remaining values for name, the header is no longer considered present.

Implementation

void removeAll(String name);