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)
Mar 7 2026, 11:26 AM
Unknown Object (File)
Feb 13 2026, 9:33 AM
Unknown Object (File)
Feb 13 2026, 9:28 AM
Unknown Object (File)
Dec 28 2025, 7:25 AM
Unknown Object (File)
Dec 2 2025, 12:33 PM
Unknown Object (File)
Nov 28 2025, 2:52 AM
Unknown Object (File)
Nov 28 2025, 2:52 AM
Unknown Object (File)
Nov 28 2025, 2:52 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.