Homec4science

Add an AphrontHTTPProxyResponse

Authored by epriestley <git@epriestley.com> on Jan 27 2015, 23:50.

Description

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.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T7019

Differential Revision: https://secure.phabricator.com/D11492

Details

Committed
epriestley <git@epriestley.com>Jan 27 2015, 23:50
Pushed
aubortJan 31 2017, 17:16
Parents
rPHac41db402aa7: In Diffusion, split service URI resolution from conduit client construction
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH51b2c4d01eed: Add an AphrontHTTPProxyResponse (authored by epriestley <git@epriestley.com>).Jan 27 2015, 23:50