We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 727e773 commit 3669301Copy full SHA for 3669301
java/src/main/java/com/genexus/webpanels/HttpContextWeb.java
@@ -1018,13 +1018,18 @@ public String getHeader(String header) {
1018
1019
public void sendError(int error) {
1020
try {
1021
- setHeader("Content-Encoding", "text/html");
+ disableResponseEncoding();
1022
response.sendError(error);
1023
} catch (Exception e) {
1024
log.error("Error " + error, e);
1025
}
1026
1027
1028
+ private void disableResponseEncoding() {
1029
+ if (compressed) {
1030
+ setHeader("Content-Encoding", "identity");
1031
+ }
1032
1033
public void setQueryString(String qs) {
1034
loadParameters(qs);
1035
0 commit comments