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)
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
Unknown Object (File)
Nov 20 2024, 1:40 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
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.