-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
关于hostname主机名被转为小写的问题 #206
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
这是我的一个client的BaseRequest定义,其中
#{baseUrl}
在配置文件中baseUrl=http://EXAMPLE
,主机名对应的是 /etc/hosts的一个配置:127.0.0.1 EXAMPLE
。实际上发出的请求却是
http://example/xxxx
,主机名被转小写了由于我部署的环境是使用docker,容器内核是Alpine Linux(参考),不忽略大小写的,意思就是大小写敏感。
导致请求失败,主机名无法识别的错误。
请问有什么办法可以避免这个问题?
The text was updated successfully, but these errors were encountered: