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
RsFork
incorrectly directs requests
#1207
Comments
It seems that the cause of the problem is
I would assume that this is the intended behavior - by supplying The only thing I see problematic is that we are forced to duplicate code if want to make our last match-everything fork also a default fork. We'll need something similar to this:
Is there something I`m missing? |
We have the following routing code with
RsFork
and Maven 3.9.0:The
req
variable has theAccept
header set to*/*
.Expected behaviour: The second
new RsXslt(new RsWithType(raw, "text/html"))
should be returned.Actual behaviour: The first
new RsWithType(raw, "text/xml")
is returned instead.Context: After the release of Maven 3.9.0, we started experiencing problems during the build of Rultor. One of the problems was a failed test that was related to
RsFork
. With Maven 3.8.7, everything works fine.Environment:
The text was updated successfully, but these errors were encountered: