Fixed gzip content encoding options, which was broken.
This commit is contained in:
parent
f90d33adda
commit
7c7e53bc0a
1 changed files with 4 additions and 4 deletions
|
@ -358,16 +358,16 @@ public class ApplicationManager implements XmlRpcHandler {
|
|||
context.setContextPath(pathPattern);
|
||||
server.http.addContext(context);
|
||||
|
||||
if (encode) {
|
||||
context.addHandler(new ContentEncodingHandler());
|
||||
}
|
||||
|
||||
ServletHolder holder = context.addServlet(appName, "/*",
|
||||
"helma.servlet.EmbeddedServletClient");
|
||||
|
||||
holder.setInitParameter("application", appName);
|
||||
// holder.setInitParameter("mountpoint", mountpoint);
|
||||
|
||||
if (encode) {
|
||||
context.addHandler(new ContentEncodingHandler());
|
||||
}
|
||||
|
||||
if (cookieDomain != null) {
|
||||
holder.setInitParameter("cookieDomain", cookieDomain);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue