Auto merge of #22616 - jdm:google-decode, r=nox

Fix brotli decoding

This replaces our current decoding setup by https://github.com/seanmonstar/reqwest/blob/master/src/async_impl/decoder.rs, and integrates brotli and deflate decoding to maintain our existing support.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #22228
- [x] There are tests for these changes

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22616)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2019-01-15 16:06:35 -05:00 committed by GitHub
commit 4f45eea125
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 12998 additions and 12606 deletions

View file

@ -1,6 +0,0 @@
[getresponseheader-chunked-trailer.htm]
type: testharness
expected: TIMEOUT
[XMLHttpRequest: getResponseHeader() and HTTP trailer]
expected: TIMEOUT