View | Details | Raw Unified | Return to bug 60376
Collapse All | Expand All

(-)src/protocol/http/org/apache/jmeter/protocol/http/proxy/Proxy.java (-1 / +3 lines)
Lines 531-537 Link Here
531
                }
531
                }
532
                if (HTTPConstants.HEADER_CONTENT_ENCODING.equalsIgnoreCase(parts[0])
532
                if (HTTPConstants.HEADER_CONTENT_ENCODING.equalsIgnoreCase(parts[0])
533
                    &&
533
                    &&
534
                    HTTPConstants.ENCODING_GZIP.equalsIgnoreCase(parts[1])
534
                    (HTTPConstants.ENCODING_GZIP.equalsIgnoreCase(parts[1]) ||
535
                            HTTPConstants.ENCODING_DEFLATE.equalsIgnoreCase(parts[1]) ||
536
                            HTTPConstants.ENCODING_BROTLI.equalsIgnoreCase(parts[1]))
535
                ){
537
                ){
536
                    headerLines[i] = null; // We don't want this passed on to browser
538
                    headerLines[i] = null; // We don't want this passed on to browser
537
                    fixContentLength = true;
539
                    fixContentLength = true;
(-)src/protocol/http/org/apache/jmeter/protocol/http/util/HTTPConstantsInterface.java (+3 lines)
Lines 64-70 Link Here
64
    String HEADER_CONTENT_ENCODING = "content-encoding"; // $NON-NLS-1$
64
    String HEADER_CONTENT_ENCODING = "content-encoding"; // $NON-NLS-1$
65
    String HTTP_1_1 = "HTTP/1.1"; // $NON-NLS-1$
65
    String HTTP_1_1 = "HTTP/1.1"; // $NON-NLS-1$
66
    String HEADER_SET_COOKIE = "set-cookie"; // $NON-NLS-1$
66
    String HEADER_SET_COOKIE = "set-cookie"; // $NON-NLS-1$
67
    String ENCODING_BROTLI = "br"; // $NON-NLS-1$
68
    String ENCODING_DEFLATE = "deflate"; // $NON-NLS-1$
67
    String ENCODING_GZIP = "gzip"; // $NON-NLS-1$
69
    String ENCODING_GZIP = "gzip"; // $NON-NLS-1$
70
68
    String HEADER_CONTENT_DISPOSITION = "Content-Disposition"; // $NON-NLS-1$
71
    String HEADER_CONTENT_DISPOSITION = "Content-Disposition"; // $NON-NLS-1$
69
    String HEADER_CONTENT_TYPE = "Content-Type"; // $NON-NLS-1$
72
    String HEADER_CONTENT_TYPE = "Content-Type"; // $NON-NLS-1$
70
    String HEADER_CONTENT_LENGTH = "Content-Length"; // $NON-NLS-1$
73
    String HEADER_CONTENT_LENGTH = "Content-Length"; // $NON-NLS-1$

Return to bug 60376