🚧 Map Response headers when proxy exception

This commit is contained in:
2026-07-04 12:13:32 +02:00
parent 82fa768527
commit 8e4a199b95
@@ -35,7 +35,14 @@ public class ResponseHandler
String headerName = header.getKey(); String headerName = header.getKey();
for (String value : header.getValue()) for (String value : header.getValue())
{ {
context.response().putHeader(headerName, value); try
{
context.response().putHeader(headerName, value);
}
catch (Exception e)
{
// Empty
}
} }
} }
context.response().send(Buffer.buffer(body)); context.response().send(Buffer.buffer(body));