* Don't create a WebRequest obhject in CLI mode but a FauxRequest; avoids some useles...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Tue, 5 Jul 2011 15:05:14 +0000 (15:05 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Tue, 5 Jul 2011 15:05:14 +0000 (15:05 +0000)
commit2f7f99b1f1931107eed64b292eb8a20eb2bf394a
treea557ad4e079150cbeafdc02509800c884ea247d5
parentc75465b7ad0615503b46c03e248dd8408d747b24
* Don't create a WebRequest obhject in CLI mode but a FauxRequest; avoids some useless notices about headers already sent (I know this is more a PHP silliness, but anyway)
* Added HTTP response code parsing (sending a "HTTP/1.x code" header was throwing a NOTICE about undefined index on the result of the explode() call) and storage; added FauxResponse::getStatusCode() to retrieve it
includes/Setup.php
includes/WebResponse.php