You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue arose from discussions around dropping HTTP/2 push support in #538.
Do we reuse sendError(), introduce a new method or something else?
Given the Javadoc for sendError(), I think a new method (name?) would be better.
Given the number of different methods that can set status codes, I think we should also add a requirement to throw IllegalArgumentException if any such method is used with an inappropriate status code (e.g. a 4xx code with sendRedirect)