🚧 Map Response headers when proxy exception

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