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
F14403486: D21118.diff
Mon, Dec 23, 2:45 AM
Unknown Object (File)
Thu, Dec 19, 8:59 AM
Unknown Object (File)
Wed, Dec 18, 2:04 PM
Unknown Object (File)
Fri, Dec 6, 3:47 PM
Unknown Object (File)
Thu, Dec 5, 3:24 AM
Unknown Object (File)
Mon, Nov 25, 3:45 PM
Unknown Object (File)
Sun, Nov 24, 2:25 AM
Unknown Object (File)
Nov 21 2024, 9:15 AM
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.