-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
in_http: Allow users to send payload in compressed form
This adds support for the 'Content-Encoding' header, which allows HTTP clients to transfer payload more efficiently by applying compression. You can test it using the following command: $ echo 'json={"foo":"bar"}' | gzip > json.gz $ curl --data-binary @json.gz -H "Content-Encoding: gzip" \ http://localhost:9880/debug.log This feature should be useful especially for users who handle large amounts of data.
- Loading branch information
Fujimoto Seiji
committed
Jul 5, 2018
1 parent
815e513
commit a147d34
Showing
2 changed files
with
74 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