ASF Bugzilla – Attachment 5489 Details for
Bug 18073
gzip compression checks for wrong content type
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
New tested patch.
Http11Process.java.diff (text/plain), 1.00 KB, created by
Ronald Klop
on 2003-03-25 10:49:04 UTC
(
hide
)
Description:
New tested patch.
Filename:
MIME Type:
Creator:
Ronald Klop
Created:
2003-03-25 10:49:04 UTC
Size:
1.00 KB
patch
obsolete
>--- jakarta-tomcat-connectors-4.1.24-src/http11/src/java/org/apache/coyote/http11/Http11Processor.java Wed Mar 19 10:21:06 2003 >+++ jakarta/jakarta-tomcat-connectors-4.1.24-src/http11/src/java/org/apache/coyote/http11/Http11Processor.java Tue Mar 25 11:45:25 2003 >@@ -271,7 +271,7 @@ > /** > * List of MIMES which could be gzipped > */ >- protected String[] compressableMimeTypes = { "text/html", "text/xml", "text/plain" }; >+ protected String[] compressableMimeTypes = { "text/html", "text/xml", "text/plain", "text/javascript", "text/css" }; > > > /** >@@ -1089,7 +1089,7 @@ > || (contentLength > compressionMinSize)) { > // Check for compatible MIME-TYPE > if (compressableMimeTypes != null) >- return (inStringArray(compressableMimeTypes, response.getContentType())); >+ return (inStringArray(compressableMimeTypes, org.apache.tomcat.util.http.ContentType.getContentType(response.getContentType()).getType())); > } > > return false;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 18073
:
5385
|
5386
| 5489 |
5491