huaweicloud-sdk-java-v3 icon indicating copy to clipboard operation
huaweicloud-sdk-java-v3 copied to clipboard

add `Host` header if not exist

Open ShijunDeng opened this issue 10 months ago • 0 comments

When adding a host header, do not overwrite the existing host header field.

When we make a REST call using an IP address, the Host field is passed through the Host field in the Header, and at this time, it is not possible to obtain the Host directly through the URL.

ShijunDeng avatar Apr 15 '24 00:04 ShijunDeng