1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-30 18:52:42 +01:00
phorge-phorge/src/aphront/sink
epriestley 3eb370a533 Share more HTTPSink code
Summary:
In the past, we did some additional magic on `$response_string` (adding profiling headers? Or DarkConsole?), so we could not share the pathway with HTTPSink. We no longer do this; share the pathways.

Also remove error handler initialization (duplicated in PhabricatorEnv), and move $sink initialization earlier. My general goal here is to allow PhabricatorSetup to emit a normal Response object and share as much code as possible with normal pages.

Test Plan: Loaded page.

Reviewers: btrahan, vrana

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T2228

Differential Revision: https://secure.phabricator.com/D4285
2012-12-25 06:17:45 -08:00
..
__tests__ Delete license headers from files 2012-11-05 11:16:51 -08:00
AphrontHTTPSink.php Share more HTTPSink code 2012-12-25 06:17:45 -08:00
AphrontIsolatedHTTPSink.php Delete license headers from files 2012-11-05 11:16:51 -08:00
AphrontPHPHTTPSink.php Delete license headers from files 2012-11-05 11:16:51 -08:00