Skip to content
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

feat: use HTTP/1.1 on HTTP/3 fail #15

Merged
merged 3 commits into from
Dec 5, 2023

Conversation

olenagerasimova
Copy link
Member

@olenagerasimova olenagerasimova commented Dec 1, 2023

part of #14 (check description)

Added HTTP/1.1 client along with clients initialization "on request", added simple test. IT test will be added letter.

If request is done via not appropriate protocol version, TimeoutException is thrown and in this case we make request via HTTP/1.1. It will not be correct to re-request in any exception as http client can throw exception in the case of some not success status like 401.

Copy link
Contributor

@dgarus dgarus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@dgarus dgarus merged commit 603ca01 into artipie:master Dec 5, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants