Introduce getOrEmpty(String) convenience method in HttpHeaders
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-22949
Showing
想要评论请 注册 或 登录