1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-11 15:21:03 +01:00
phorge-phorge/src/aphront
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__ Add passthru to AphrontRequest 2012-12-11 17:27:02 -08:00
configuration Delete license headers from files 2012-11-05 11:16:51 -08:00
console Move a lot of pre-request checks to PhabricatorStartup 2012-12-25 06:11:39 -08:00
exception Delete license headers from files 2012-11-05 11:16:51 -08:00
response Make AphrontProxyResponse reduce to a real response instead of building a string 2012-12-11 17:27:25 -08:00
sink Share more HTTPSink code 2012-12-25 06:17:45 -08:00
AphrontController.php Throw instead of log for invalid properties 2012-12-18 16:15:01 -08:00
AphrontRequest.php Add draft support to ApplicationTransactions 2012-12-21 05:57:14 -08:00
AphrontURIMapper.php Delete license headers from files 2012-11-05 11:16:51 -08:00