Skip to content

Add httpProtocol method to WebServiceClient.Builder #591

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ggabora
Copy link

@ggabora ggabora commented Aug 21, 2025

  • Added httpVersion() method on WebServiceClient.Builder
    which allows configuring HTTP protocol version (HTTP/1.1 or HTTP/2) for web
    service requests.
  • Updated README.md with comprehensive HTTP protocol configuration documentation.
  • Added detailed information about HTTP version settings, proxy configuration,
    timeout settings, authentication, and connection management.
  • Improved documentation for developers using the web service client.

@horgh
Copy link
Contributor

horgh commented Aug 21, 2025

Hi! Thanks for the PR.

Could you tell me about the use case for this option? I think generally HTTP/1.1 should be discouraged, e.g. https://http1mustdie.com/, so I'm not sure about adding something new to enable it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants