This class is not for direct initialization, and
new MWHttpRequest(...)->execute() doesn't work at all.
Change-Id: I557723c218cd8e8f27283d01141c890263da095d
* @param $url String: url to use. If protocol-relative, will be expanded to an http:// URL
* @param $options Array: (optional) extra params to pass (see Http::request())
*/
- function __construct( $url, $options = array() ) {
+ protected function __construct( $url, $options = array() ) {
global $wgHTTPTimeout;
$this->url = wfExpandUrl( $url, PROTO_HTTP );