Skip to content

Commit

Permalink
fix: lowerCase header (#13247)
Browse files Browse the repository at this point in the history
Co-authored-by: 贾彦昭 <[email protected]>
  • Loading branch information
imJYZ and 贾彦昭 authored Oct 23, 2023
1 parent ad26a69 commit 8a28c78
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ public String getHeader(String name) {

List<String> values = headers.get(name);

if (values == null && name != null){
values = headers.get(name.toLowerCase());
}

if (values == null || values.isEmpty()) {
return null;
} else {
Expand Down

0 comments on commit 8a28c78

Please sign in to comment.