MediaWiki
REL1_22
|
Class to let us overwrite MWHttpRequest respHeaders variable. More...
Static Public Member Functions | |
static | factory ($url, $options=null) |
Generate a new request object. |
Class to let us overwrite MWHttpRequest respHeaders variable.
Definition at line 179 of file HttpTest.php.
static MWHttpRequestTester::factory | ( | $ | url, |
$ | options = null |
||
) | [static] |
Generate a new request object.
string | $url | url to use |
array | $options | (optional) extra params to pass (see Http::request()) |
MWException |
Reimplemented from MWHttpRequest.
Definition at line 183 of file HttpTest.php.
References Http\$httpEngine, $options, MWHttpRequest\$url, and wfIniGetBool().
Referenced by HttpTest\testRelativeRedirections().