dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Special:Newpages feed now shows first revision instead of latest revision"
[lhc/web/wiklou.git]
/
includes
/
http
/
CurlHttpRequest.php
diff --git
a/includes/http/CurlHttpRequest.php
b/includes/http/CurlHttpRequest.php
index
7fd3e83
..
3da3eb3
100644
(file)
--- a/
includes/http/CurlHttpRequest.php
+++ b/
includes/http/CurlHttpRequest.php
@@
-37,6
+37,12
@@
class CurlHttpRequest extends MWHttpRequest {
return strlen( $content );
}
return strlen( $content );
}
+ /**
+ * @see MWHttpRequest::execute
+ *
+ * @throws MWException
+ * @return Status
+ */
public function execute() {
$this->prepare();
public function execute() {
$this->prepare();
@@
-139,7
+145,7
@@
class CurlHttpRequest extends MWHttpRequest {
$this->parseHeader();
$this->setStatus();
$this->parseHeader();
$this->setStatus();
- return Status::wrap( $this->status );
// TODO B/C; move this to callers
+ return Status::wrap( $this->status ); // TODO B/C; move this to callers
}
/**
}
/**