Created
September 12, 2016 10:01
-
-
Save Alien2150/943ae0d5af4463be42948fcb8a7c325d to your computer and use it in GitHub Desktop.
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
private static class RemoveAcceptEncodingFilter implements ClientRequestFilter { | |
RemoveAcceptEncodingFilter() {} | |
@Override | |
public void filter(ClientRequestContext clientRequestContext) throws IOException { | |
clientRequestContext.getHeaders().remove("Accept-Encoding"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment