-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove support for deflate compression
Closes #215 Per https://zlib.net/zlib_faq.html#faq39 > What's the difference between the "gzip" and "deflate" HTTP 1.1 encodings? > > "gzip" is the gzip format, and "deflate" is the zlib format. They > should probably have called the second one "zlib" instead to avoid > confusion with the raw deflate compressed data format. While the HTTP > 1.1 RFC 2616 correctly points to the zlib specification in RFC 1950 for > the "deflate" transfer encoding, there have been reports of servers and > browsers that incorrectly produce or expect raw deflate data per the > deflate specification in RFC 1951, most notably Microsoft. So even > though the "deflate" transfer encoding using the zlib format would be > the more efficient approach (and in fact exactly what the zlib format > was designed for), using the "gzip" transfer encoding is probably more > reliable due to an unfortunate choice of name on the part of the HTTP > 1.1 authors. > > Bottom line: use the gzip format for HTTP 1.1 encoding.
- Loading branch information
1 parent
0c88cc4
commit e19d89f
Showing
5 changed files
with
9 additions
and
15 deletions.
There are no files selected for viewing
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
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
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
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
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