Browse Source
This commit introduces a getOrEmpty(String) method in HttpHeaders that returns an immutable, empty list if no values are present for the specified header name. This is provided as a convenience over the existing get(String) method which returns null in such cases. Closes gh-22949pull/23019/head
2 changed files with 29 additions and 0 deletions
Loading…
Reference in new issue