forked from huginn/huginn
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Exclude
deflate
from Accept-Encoding by default
Some web servers return a raw deflate stream instead of a zlib-wrapped deflate stream defined in RFCs (called "DEFLATE") when they say `Content-Encoding: deflate`. However FaradayMiddleware::Gzip currently only supports the latter, so we need to keep it from telling a server that it accepts `deflate`. See huginn#1018.
- Loading branch information
Showing
2 changed files
with
35 additions
and
0 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