Page MenuHomePhabricator

If the Conduit client supports gzip, make calls with "Accept-Encoding: gzip"
ClosedPublic

Authored by epriestley on Apr 14 2020, 11:21 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Apr 21, 4:09 PM
Unknown Object (File)
Sun, Apr 21, 10:14 AM
Unknown Object (File)
Sat, Apr 20, 5:12 PM
Unknown Object (File)
Wed, Apr 17, 3:11 PM
Unknown Object (File)
Thu, Apr 11, 7:20 AM
Unknown Object (File)
Sat, Apr 6, 1:45 PM
Unknown Object (File)
Thu, Apr 4, 11:22 AM
Unknown Object (File)
Mar 14 2024, 6:10 PM
Subscribers
None

Details

Summary

Ref T13507. Add "Accept-Encoding: gzip" to requests if we can decompress responses.

When we receive a compressed response, decompress it.

Test Plan

Added debugging code, ran some commands, saw smaller payloads over the wire and inline decompression.

Diff Detail

Repository
rARC Arcanist
Branch
compress1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 24112
Build 33199: Run Core Tests
Build 33198: arc lint + arc unit

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Apr 14 2020, 11:22 PM
epriestley requested review of this revision.
This revision was automatically updated to reflect the committed changes.