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
F13185187: D21118.diff
Sat, May 11, 2:39 AM
Unknown Object (File)
Tue, May 7, 5:07 AM
Unknown Object (File)
Mon, May 6, 8:59 AM
Unknown Object (File)
Fri, May 3, 9:04 AM
Unknown Object (File)
Fri, May 3, 2:27 AM
Unknown Object (File)
Thu, May 2, 10:44 PM
Unknown Object (File)
Mon, Apr 29, 1:57 PM
Unknown Object (File)
Fri, Apr 26, 10:32 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.