Skip to content

Commit

Permalink
Merge pull request playframework#752 from xuwei-k/patch-1
Browse files Browse the repository at this point in the history
fix warning in CachingAsyncHttpClient
  • Loading branch information
mkurz authored Apr 11, 2023
2 parents d50c653 + 027ec24 commit 2584c27
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 2584c27

Please sign in to comment.