-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
request passed to onClientError now has cookies, flash and session set
#13417
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
6adc148 to
b4d48db
Compare
…iched Meaning the request should contain session, flash and cookies (if possible)
b4d48db to
4f4748e
Compare
|
As expected the second test I added in the first commit fails: That is because the request that gets passed to the Actually, I studied the code quite intense and can not see any reason why we should not pass the cookies, flash and session also to that request. Technically it should not be a problem at all. fyi, the first test I added succeeds thanks to |
onClientError triggered by server backend should be enrichedonClientError now has cookies, flash and session set
|
Note to myself, implementation wise: Either parsing a Pekko or Netty request fails, then the or parsing the raw Pekko or Netty requests succeeds, then I will not backport that to the stable branches, because even though I am like very sure this enhancement is good I do not think it's good for a patch release because it's a bit too much for just a patch. In case this enhancement causes problems in the next Play major release, we could just revert this PR then. |
See title and next comment(s)