diff --git a/src/main/java/moe/yushi/authlibinjector/internal/fi/iki/elonen/NanoHTTPD.java b/src/main/java/moe/yushi/authlibinjector/internal/fi/iki/elonen/NanoHTTPD.java index 5b1257e..a7c4159 100644 --- a/src/main/java/moe/yushi/authlibinjector/internal/fi/iki/elonen/NanoHTTPD.java +++ b/src/main/java/moe/yushi/authlibinjector/internal/fi/iki/elonen/NanoHTTPD.java @@ -205,12 +205,6 @@ public abstract class NanoHTTPD { * Common MIME type for dynamic content: plain text */ public static final String MIME_PLAINTEXT = "text/plain"; - - /** - * Common MIME type for dynamic content: html - */ - public static final String MIME_HTML = "text/html"; - /** * logger to log to. */ diff --git a/src/main/java/moe/yushi/authlibinjector/internal/fi/iki/elonen/Response.java b/src/main/java/moe/yushi/authlibinjector/internal/fi/iki/elonen/Response.java index fefa44f..c595d0b 100644 --- a/src/main/java/moe/yushi/authlibinjector/internal/fi/iki/elonen/Response.java +++ b/src/main/java/moe/yushi/authlibinjector/internal/fi/iki/elonen/Response.java @@ -278,13 +278,6 @@ public class Response implements Closeable { this.status = status; } - /** - * Create a text response with known length. - */ - public static Response newFixedLength(String msg) { - return newFixedLength(Status.OK, NanoHTTPD.MIME_HTML, msg); - } - /** * Create a text response with known length. */