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
F18985420: D21118.id50294.diff
Mon, Nov 17, 1:02 PM
F18906007: D21118.id.diff
Sat, Nov 8, 4:31 PM
F18894131: D21118.diff
Fri, Nov 7, 1:39 PM
F18872950: D21118.diff
Wed, Nov 5, 7:06 AM
F18818436: D21118.id50295.diff
Oct 22 2025, 12:22 AM
F18770937: D21118.id.diff
Oct 8 2025, 4:23 PM
F18765923: D21118.diff
Oct 7 2025, 1:50 PM
F18741516: D21118.id50295.diff
Oct 2 2025, 1:36 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.