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)
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
Unknown Object (File)
Feb 4 2024, 12:03 AM
Unknown Object (File)
Jan 25 2024, 2:19 AM
Unknown Object (File)
Jan 16 2024, 10:13 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.