-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AsyncHttp\Client – Don't combine gzip encoding with the HTTP Range he…
…ader. When we're requesting a byte range AND gzipped transfer encoding, our intention is to get compressed bytes 0-X of the original file. However, some servers will compress the file first, and then return the compressed bytes 0-X. The result is both unpredictable and impossible to decompress. This commit also makes other cosmetic changes – exposes http response as an integer, and ensures the request headers are lowercase
- Loading branch information
Showing
3 changed files
with
21 additions
and
8 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