This is an archive of the discontinued Mercurial Phabricator instance.

httppeer: extract common response handling into own function
ClosedPublic

Authored by indygreg on Apr 10 2018, 9:28 PM.

Details

Summary

This allows the common redirect detection, content type
validation, and decompression wrapping to be usable outside of
httppeer instances.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

indygreg created this revision.Apr 10 2018, 9:28 PM
durin42 accepted this revision.Apr 11 2018, 12:48 PM
This revision is now accepted and ready to land.Apr 11 2018, 12:48 PM
This revision was automatically updated to reflect the committed changes.