Skip to content

feat: migrate HTTP driver Apache HC to 5.4.3#10

Open
astsiapanay wants to merge 1 commit into
masterfrom
migrate-apache-hc-to-5.4.3
Open

feat: migrate HTTP driver Apache HC to 5.4.3#10
astsiapanay wants to merge 1 commit into
masterfrom
migrate-apache-hc-to-5.4.3

Conversation

@astsiapanay

Copy link
Copy Markdown
Collaborator

No description provided.

HttpHost host = new HttpHost(endpoint.getHost(), endpoint.getPort(), endpoint.getScheme());
org.apache.http.HttpResponse nativeResponse = client.execute(host, nativeRequest);
return nativeResponse;
URI endpoint = URI.create(requestUri(nativeRequest));

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

What is this for? Can't just use the URI?

URI endpoint =  nativeRequest.getUri()

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Is the extra validation needed?

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.

2 participants