Skip to content

Commit

Permalink
Revert back to String based URI (#33673)
Browse files Browse the repository at this point in the history
  • Loading branch information
alzimmermsft committed Feb 23, 2023
1 parent b5730c2 commit 4f2654d
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
import java.io.UncheckedIOException;
import java.net.InetSocketAddress;
import java.net.SocketAddress;
import java.net.URI;
import java.nio.channels.FileChannel;
import java.nio.file.StandardOpenOption;
import java.time.Duration;
Expand Down Expand Up @@ -163,7 +162,7 @@ public Mono<HttpResponse> send(HttpRequest request, Context context) {
.doOnResponse((response, connection) -> addReadTimeoutHandler(connection, readTimeout))
.doAfterResponseSuccess((response, connection) -> removeReadTimeoutHandler(connection))
.request(toReactorNettyHttpMethod(request.getHttpMethod()))
.uri(URI.create(request.getUrl().toString()))
.uri(request.getUrl().toString())
.send(bodySendDelegate(request))
.responseConnection(responseDelegate(request, disableBufferCopy, eagerlyReadResponse, ignoreResponseBody,
headersEagerlyConverted))
Expand Down

0 comments on commit 4f2654d

Please sign in to comment.