HttpHeaders.dup

HttpHeaders dup() const

Returns a deep copy of this HttpHeaders.

Returns

A new HttpHeaders instance with copied header values.