Skip to content

Commit

Permalink
fix warning in CachingAsyncHttpClient
Browse files Browse the repository at this point in the history
  • Loading branch information
xuwei-k authored Apr 8, 2023
1 parent d50c653 commit 027ec24
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ class CachingAsyncHttpClient(underlying: AsyncHttpClient, ahcHttpCache: AhcHttpC
}

protected def composeRequest(request: Request)(block: RequestBuilder => RequestBuilder): Request = {
val rb = new RequestBuilder(request)
val rb = request.toBuilder
val builder = block(rb)
builder.build()
}
Expand Down

0 comments on commit 027ec24

Please sign in to comment.