-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Only allow a single Location to be set in RESTEasy Reactive #38554
Conversation
I could try that, but I've a feeling this is only going to work for the narrow use-case of Or perhaps it's the problem really is elsewhere and the security handler's challenge should not set anything on the Vert.x response before it fires an authentication exception? And it's the default exception handler which should build a proper |
I don't know how we can decide we should be removing headers |
Well, let's suppose an exception handler for Leaving the So, I wonder if there are cases where we set headers prior to getting a I think it's worth sending a CI run where in the presence of a |
Theoretically, any Vertx handler running before RR could set anything it likes. Practically, what you're saying is probably correct.
Sure, go ahead |
Alright, let's see. |
Fire: #38641 |
Well, I suppose |
OK, same player shoots again. |
Also In the TCK:
The first one calls I'm not sure how the second one gets written, though. It appears that the test returns a |
Let's see how many other cases there are, restarted again with tweaks to let those slide. |
New test failing is This makes me realise that there's bound to be filters that will set response headers, either via the JAX-RS API I suppose those use-cases are valid, in many cases. I'm not entirely sure what the JAX-RS spec says about header composition when we have the This all appears to be a mess with no real semantics defined. In the sense that it's not clear at all how a Perhaps this is not a problem we can solve today. Perhaps indeed you're right and we should concentrate on Perhaps we can also remove any pre-existing In any case, I think your solution is the best for now, and we've documented why, so in the future we'll have this info at hand. |
Yeah...
Thanks for doing a deep dive on this! |
Status for workflow
|
Location
headers #38523