From bcdc44c065aa7d0ebb66463800281bd9c7439cb0 Mon Sep 17 00:00:00 2001 From: theli Date: Sun, 15 May 2005 15:17:17 +0000 Subject: [PATCH] *) Adding more constants. Needed for next commit. git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@123 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/de/anomic/http/httpHeader.java | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/source/de/anomic/http/httpHeader.java b/source/de/anomic/http/httpHeader.java index c5d80d238..62a2238cd 100644 --- a/source/de/anomic/http/httpHeader.java +++ b/source/de/anomic/http/httpHeader.java @@ -84,8 +84,8 @@ public final class httpHeader extends TreeMap implements Map { public static final String CONNECTION = "Connection"; public static final String REFERER = "Referer"; public static final String ACCEPT_ENCODING = "Accept-Encoding"; - public static final String CONTENT_LENGTH = "CONTENT-LENGTH"; - public static final String CONTENT_TYPE = "CONTENT-TYPE"; + public static final String CONTENT_LENGTH = "Content-Length"; + public static final String CONTENT_TYPE = "Content-Type"; public static final String AUTHORIZATION = "Authorization"; public static final String WWW_AUTHENTICATE = "WWW-Authenticate"; public static final String PROXY_AUTHORIZATION = "Proxy-Authorization"; @@ -95,10 +95,14 @@ public final class httpHeader extends TreeMap implements Map { public static final String LAST_MODIFIED = "Last-modified"; public static final String PRAGMA = "Pragma"; public static final String SET_COOKIE = "Set-Cookie"; - public static final String IF_MODIFIED_SINCE = "IF-MODIFIED-SINCE"; + public static final String SET_COOKIE2 = "Set-Cookie2"; + public static final String IF_MODIFIED_SINCE = "If-Modified-Since"; public static final String COOKIE = "Cookie"; public static final String EXPIRES = "Expires"; - public static final String CONTENT_ENCODING = "CONTENT-ENCODING"; + public static final String CONTENT_ENCODING = "Content-Encoding"; + public static final String CONTENT_RANGE = "Content-Range"; + public static final String RANGE = "Range"; + public static final String CACHE_CONTROL = "Cache-Control"; /* ============================================================= * Constants defining http methods