From 4e2a31c15ceb72db4eb10950a815210a68ab661d Mon Sep 17 00:00:00 2001 From: ulrich Date: Sun, 02 Jan 2022 11:35:19 +0000 Subject: [PATCH] Code aufgeraeumt und Kommentare ergaenzt --- src/de/uhilger/httpserver/base/HttpResponder.java | 12 ------------ 1 files changed, 0 insertions(+), 12 deletions(-) diff --git a/src/de/uhilger/httpserver/base/HttpResponder.java b/src/de/uhilger/httpserver/base/HttpResponder.java index 69cc132..e39559d 100644 --- a/src/de/uhilger/httpserver/base/HttpResponder.java +++ b/src/de/uhilger/httpserver/base/HttpResponder.java @@ -42,15 +42,10 @@ public static final String CONTENT_TYPE = "Content-Type"; public static final String LAST_MODIFIED_DATE_HEADER = "Last-Modified"; - //public static final String RANGE_HEADER = "Range"; - //public static final String CONTENT_RANGE_HEADER = "Content-Range"; - /* Statuscodes */ public static final int SC_OK = 200; public static final int SC_NOT_FOUND = 404; - //public static final int SC_PARTIAL_CONTENT = 206; - /* HTTP Methoden */ public static final String HTTP_GET = "GET"; @@ -58,13 +53,6 @@ public static final String STR_BYTES = "bytes"; public static final String STR_NOT_FOUND = " not found."; public static final String LM_PATTERN = "EEE, dd MMM yyyy HH:mm:ss zzz"; - - //public static final String STR_BLANK = " "; - //public static final String STR_DASH = "-"; - //public static final String STR_COMMA = ","; - //public static final String STR_DOT = "."; - //public static final String RANGE_PATTERN = "[^\\d-,]"; - //public static final String WELCOME_FILE = "index.html"; /** * Den Inhalt einer Datei ausliefern -- Gitblit v1.9.3