jira-importer commented on issue #446: URL: https://github.com/apache/maven-indexer/issues/446#issuecomment-2965141491
**[Jesse N. Glick](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=jglick)** commented Some experimentation reveals that httpd 2.2.9 will set this header if `AddEncoding x-gzip .gz` is specified in `httpd.conf`. That directive is not enabled by default, but it is suggested in a commented-out block: ``` 1. AddEncoding allows you to have certain browsers uncompress 1. information on the fly. Note: Not all browsers support this. # #AddEncoding x-compress .Z #AddEncoding x-gzip .gz .tgz ``` There is no indication in these comments (or the manual) that using the directive violates any RFC, and it seems likely enough that some admin or another would have uncommented such a directive at some point for some reason, without having any clue this might affect Maven indices. The Indexer would do well to behave gracefully in this case. Workaround (without full server admin access) seems to be to create `.index/.htaccess` with ``` RemoveEncoding .gz ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
