Github user shukitchan commented on a diff in the pull request: https://github.com/apache/trafficserver/pull/1557#discussion_r107666043 --- Diff: plugins/gzip/gzip.cc --- @@ -115,20 +142,32 @@ gzip_data_destroy(GzipData *data) } static TSReturnCode -gzip_content_encoding_header(TSMBuffer bufp, TSMLoc hdr_loc, const int compression_type) +content_encoding_header(TSMBuffer bufp, TSMLoc hdr_loc, const int compression_type, int algorithm) { TSReturnCode ret; TSMLoc ce_loc; - + const char *value = nullptr; + int value_len = 0; // Delete Content-Encoding if present??? + if (compression_type & COMPRESSION_TYPE_BROTLI && (algorithm & ALGORITHM_BROTLI)) { --- End diff -- so does that mean i must have "br" in supported-algorithm for the content header to be set accordingly?
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---