From 093eea62b949d6b0df4c83a858af12200ea40c8b Mon Sep 17 00:00:00 2001 From: Greg Wilkins Date: Mon, 28 Jul 2014 15:24:44 +1000 Subject: [PATCH] Revert "RFC7238 Permanent Redirect 308 defined" This reverts commit 5d289c0a7b5bbb80a58f1969bb28313c3db3fbc4. Keep RFC723x changes in 9.3 branch --- .../src/main/java/org/eclipse/jetty/http/HttpStatus.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/jetty-http/src/main/java/org/eclipse/jetty/http/HttpStatus.java b/jetty-http/src/main/java/org/eclipse/jetty/http/HttpStatus.java index cf72cfe0dae..7db1fa64ff0 100644 --- a/jetty-http/src/main/java/org/eclipse/jetty/http/HttpStatus.java +++ b/jetty-http/src/main/java/org/eclipse/jetty/http/HttpStatus.java @@ -30,9 +30,9 @@ package org.eclipse.jetty.http; * Code * Message * - * RFC 7231 - HTTP/1.1 Semantics and Content + * RFC 1945 - HTTP/1.0 * - * RFC 7238 - HTTP/1.1 Permanent Redirect + * RFC 2616 - HTTP/1.1 * * RFC 2518 - WEBDAV * @@ -633,7 +633,6 @@ public class HttpStatus public final static int NOT_MODIFIED_304 = 304; public final static int USE_PROXY_305 = 305; public final static int TEMPORARY_REDIRECT_307 = 307; - public final static int PERMANENT_REDIRECT = 308; public final static int BAD_REQUEST_400 = 400; public final static int UNAUTHORIZED_401 = 401; @@ -739,8 +738,6 @@ public class HttpStatus USE_PROXY(USE_PROXY_305, "Use Proxy"), /** 307 Temporary Redirect */ TEMPORARY_REDIRECT(TEMPORARY_REDIRECT_307, "Temporary Redirect"), - /** 308 Permanent Redirect */ - PERMANET_REDIRECT(PERMANENT_REDIRECT, "Permanent Redirect"), /* * --------------------------------------------------------------------