mirror of
https://github.com/yushijinhun/authlib-injector.git
synced 2024-11-15 06:11:09 +01:00
nanohttpd: refactor: remove Response.newFixedLength(String)
This commit is contained in:
parent
514f2829e2
commit
61b787aa4d
2 changed files with 0 additions and 13 deletions
|
@ -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.
|
||||
*/
|
||||
|
|
|
@ -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.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue