Page MenuHomePhabricator

Add an AphrontHTTPProxyResponse
ClosedPublic

Authored by epriestley on Jan 25 2015, 3:19 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Apr 14, 10:56 PM
Unknown Object (File)
Thu, Apr 11, 10:10 AM
Unknown Object (File)
Tue, Apr 2, 9:53 AM
Unknown Object (File)
Tue, Apr 2, 9:53 AM
Unknown Object (File)
Tue, Mar 26, 12:43 AM
Unknown Object (File)
Tue, Mar 26, 12:30 AM
Unknown Object (File)
Mon, Mar 25, 11:41 AM
Unknown Object (File)
Mon, Mar 25, 11:41 AM
Subscribers

Details

Reviewers
btrahan
Maniphest Tasks
T7019: Proxy HTTP VCS traffic
Commits
Restricted Diffusion Commit
rP51b2c4d01eed: Add an AphrontHTTPProxyResponse
Summary

Ref T7019. Adds a new response which can proxy an HTTP request and pass the result through.

This is grossly inefficient for the same reasons as HTTP hosting is generally inefficient right now (T4369). This stuff is fixable but not trivial.

Test Plan

Replaced home page with a proxy to example.org, used Charles to view headers, saw the page headers and content proxy with an X-Phabricator-Proxied header.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Add an AphrontHTTPProxyResponse.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan edited edge metadata.
This revision is now accepted and ready to land.Jan 27 2015, 10:14 PM
This revision was automatically updated to reflect the committed changes.