diff --git a/qbit-servlet/src/main/java/io/advantageous/qbit/servlet/QBitServletUtil.java b/qbit-servlet/src/main/java/io/advantageous/qbit/servlet/QBitServletUtil.java
index <HASH>..<HASH> 100644
--- a/qbit-servlet/src/main/java/io/advantageous/qbit/servlet/QBitServletUtil.java
+++ b/qbit-servlet/src/main/java/io/advantageous/qbit/servlet/QBitServletUtil.java
@@ -60,7 +60,10 @@ public class QBitServletUtil {
                                             final HttpRequestBuilder httpRequestBuilder) {
 
         httpRequestBuilder.setTextReceiver((code, contentType, body) -> {
+
+
             response.setHeader("Content-Type", contentType);
+            response.setStatus(code);
             try {
                 final ServletOutputStream outputStream = response.getOutputStream();
                 outputStream.write(body.getBytes(StandardCharsets.UTF_8));
Found and fixed bug with code #<I>