-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Issue #5171 Simplify GzipHandler user-agent handling + Remove User-Agent handling from GzipHandler + Allow Vary header to be set + Create rewrite MsieRule to remove Accept-Encoding from IE<=6 Signed-off-by: Greg Wilkins <[email protected]> * + Full implementation of HttpFields ensure + use for Vary field * + fixed checkstyle * + fixed test for merged header * + fixed javadoc * Issue #5171 Simplify GzipHandler user-agent handling + improved comments Signed-off-by: Greg Wilkins <[email protected]> * rename and testing after review
- Loading branch information
Showing
16 changed files
with
758 additions
and
397 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# DO NOT EDIT - See: https://www.eclipse.org/jetty/documentation/current/startup-modules.html | ||
|
||
[description] | ||
Enables the MSIE rewrite rule for MSIE 5 and 6 known bugs. | ||
|
||
[depend] | ||
rewrite | ||
|
||
[files] | ||
basehome:modules/rewrite/rewrite-msie.xml|etc/rewrite-msie.xml | ||
|
||
[xml] | ||
etc/rewrite-msie.xml |
10 changes: 10 additions & 0 deletions
10
jetty-rewrite/src/main/config/modules/rewrite/rewrite-msie.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version="1.0"?> | ||
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "https://www.eclipse.org/jetty/configure_10_0.dtd"> | ||
<Configure id="Rewrite" class="org.eclipse.jetty.rewrite.handler.RuleContainer"> | ||
<Call name="addRule"> | ||
<Arg> | ||
<New class="org.eclipse.jetty.rewrite.handler.MsieRule"/> | ||
</Arg> | ||
</Call> | ||
</Configure> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.