Add newFixedLengthResponse() to the NanoHTTPD class.
am: 12973d7c22

* commit '12973d7c220d261c3748e3c8051b3ef478cf5b7a':
  Add newFixedLengthResponse() to the NanoHTTPD class.
diff --git a/core/src/main/java/fi/iki/elonen/NanoHTTPD.java b/core/src/main/java/fi/iki/elonen/NanoHTTPD.java
index ed59670..73fea3c 100644
--- a/core/src/main/java/fi/iki/elonen/NanoHTTPD.java
+++ b/core/src/main/java/fi/iki/elonen/NanoHTTPD.java
@@ -254,6 +254,15 @@
     }
 
     /**
+     * Create a response with known length.
+     *
+     * TODO: Remove this implementation when updating to v2.2.0.
+     */
+    public static Response newFixedLengthResponse(Response.Status status, String mimeType, String txt) {
+        return new Response(status, mimeType, txt);
+    }
+
+    /**
      * Override this to customize the server.
      * <p/>
      * <p/>