Re: Jetty HttpServletResponse sendRedirect

2023-07-05 Thread Claus Ibsen
Hi You can try with setting a Camel header with the Exchange.HTTP_STATUS_CODE to the 3xx value for redirect, and another header with the location (using the standard name for that). And then an empty body. On Tue, Jun 27, 2023 at 3:44 PM Fyodor Kravchenko wrote: > Hello, > > one of my

Jetty HttpServletResponse sendRedirect

2023-06-27 Thread Fyodor Kravchenko
Hello, one of my producers runs a custom script that is allowed to get access to the HttpServletRequest and to invoke sendRedirect method on it. It used to work on Camel 2 but with Camel 3.20.4 Jetty tells this: 16:19:38.178 [qtp987805552-43] ERROR