dont use conntection=close header

This commit is contained in:
Sebastian Sdorra
2011-04-15 18:35:50 +02:00
parent 9c7507efd8
commit a323a322d8

View File

@@ -54,12 +54,6 @@ public class HttpUtil
/** Field description */
public static final String AUTHENTICATION_REALM = "SONIA :: SCM Manager";
/** Field description */
public static final String HEADERVALUE_CONNECTION_CLOSE = "close";
/** Field description */
public static final String HEADER_CONNECTION = "connection";
/** Field description */
public static final String HEADER_WWW_AUTHENTICATE = "WWW-Authenticate";
@@ -83,7 +77,6 @@ public class HttpUtil
response.setHeader(
HEADER_WWW_AUTHENTICATE,
"Basic realm=\"".concat(AUTHENTICATION_REALM).concat("\""));
response.setHeader(HEADER_CONNECTION, HEADERVALUE_CONNECTION_CLOSE);
response.sendError(HttpServletResponse.SC_UNAUTHORIZED,
STATUS_UNAUTHORIZED_MESSAGE);
}