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 "Localisation updates from http://translatewiki.net."
[lhc/web/wiklou.git]
/
includes
/
HttpFunctions.php
diff --git
a/includes/HttpFunctions.php
b/includes/HttpFunctions.php
index
fbae861
..
201a9e5
100644
(file)
--- a/
includes/HttpFunctions.php
+++ b/
includes/HttpFunctions.php
@@
-778,12
+778,6
@@
class CurlHttpRequest extends MWHttpRequest {
$this->parseHeader();
$this->setStatus();
$this->parseHeader();
$this->setStatus();
- if ( isset( $this->respHeaders['content-length'] ) ) {
- if ( strlen( $this->content ) < $this->getResponseHeader( 'content-length' ) ) {
- $this->status->fatal( 'http-truncated-body' );
- }
- }
-
return $this->status;
}
return $this->status;
}