-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Fix the issue with deleting the "Host" header #5781
Conversation
The host cannot be customized
The host cannot be customized
why delete 'Host' from http header |
The original logic ends up removing the ‘Host’ header, which causes any custom ‘Host’ header functionality in the request plugin to fail. My recommendation is to remove the code that deletes ‘Host’ to allow the plugin to function correctly, increasing flexibility without forcing the removal of the ‘Host’ header. Alternatively, this could be made configurable, either in the request setup or the service discovery. In any case, forcing the deletion of ‘Host’ in code is not ideal. Please also refer to the details in my submitted issue for further clarification. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the delete host operation
not right |
#5780