* (bug 22179) Internal use of API (FauxRequest) results in HTTP headers being set
authorSam Reed <reedy@users.mediawiki.org>
Sun, 5 Jun 2011 19:51:31 +0000 (19:51 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Sun, 5 Jun 2011 19:51:31 +0000 (19:51 +0000)
commit29d159aebad4867c6f6941164952864c41acdd2f
tree0e60e03870dbc2f28ed3a3d79a68afac7586a7df
parent2d99f7203fd5b071d6d82ce8e35b621260278e06
* (bug 22179) Internal use of API (FauxRequest) results in HTTP headers being set

Per Chad, switch API to use WebResponse::header() wrapper

Add $http_response_code to WebResponse::header()

Fix some code spacing/whitespace issues
includes/WebResponse.php
includes/api/ApiFormatBase.php
includes/api/ApiMain.php