Skip to content

avoid deprecated Pekko HttpRequest.copy()#13898

Merged
mkurz merged 1 commit into
playframework:mainfrom
pjfanning:patch-4
Apr 22, 2026
Merged

avoid deprecated Pekko HttpRequest.copy()#13898
mkurz merged 1 commit into
playframework:mainfrom
pjfanning:patch-4

Conversation

@pjfanning
Copy link
Copy Markdown
Contributor

Pull Request Checklist

Helpful things

Fixes

One of the issues in #13741.
https://pekko.apache.org/api/pekko-http/1.1/org/apache/pekko/http/scaladsl/model/HttpRequest.html
copy method deprecated and later removed in 2.0.0-M1.
The docs say to use the withXYZ methods instead but in this case, the intent is to do a plain copy.
It seems easiest in this one test that is affected to create a fresh HttpRequest instance.

Purpose

What does this PR do?

Background Context

Why did you take this approach?

References

Are there any relevant issues / PRs / mailing lists discussions?

@mkurz mkurz merged commit e0e8be4 into playframework:main Apr 22, 2026
43 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.

2 participants