diff --git a/independent-projects/resteasy-reactive/server/runtime/src/main/java/org/jboss/resteasy/reactive/server/core/ServerSerialisers.java b/independent-projects/resteasy-reactive/server/runtime/src/main/java/org/jboss/resteasy/reactive/server/core/ServerSerialisers.java index e6db1f881c06b..bc2fb03386e92 100644 --- a/independent-projects/resteasy-reactive/server/runtime/src/main/java/org/jboss/resteasy/reactive/server/core/ServerSerialisers.java +++ b/independent-projects/resteasy-reactive/server/runtime/src/main/java/org/jboss/resteasy/reactive/server/core/ServerSerialisers.java @@ -80,6 +80,7 @@ public void accept(ResteasyReactiveRequestContext context) { private static final String CONTENT = "Content"; private static final String CONTENT_LOWER = "content"; + private static final String LOCATION = "Location"; private static final String TYPE = "Type"; private static final String TYPE_LOWER = "type"; private static final String LENGTH = "Length"; @@ -532,7 +533,7 @@ public static void encodeResponseHeaders(ResteasyReactiveRequestContext requestC } private static boolean requireSingleHeader(String header) { - if (!(header.startsWith(CONTENT) || header.startsWith(CONTENT_LOWER))) { + if (!(header.startsWith(CONTENT) || header.startsWith(CONTENT_LOWER) || header.startsWith(LOCATION))) { return false; } if (header.length() < CONTENT.length() + 2) {