Fix HttpHeaders.setHost() to remove the header
See gh-33716
This commit is contained in:
@@ -1136,7 +1136,7 @@ public class HttpHeaders implements MultiValueMap<String, String>, Serializable
|
||||
set(HOST, value);
|
||||
}
|
||||
else {
|
||||
remove(HOST, null);
|
||||
remove(HOST);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user