X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FHttpFunctions.php;h=201a9e5a8deee4f02da3ed2b358172d226a9ba85;hb=8a023885009927ee65007669319cb4dd43baf663;hp=fbae861fc7f881b1c34202054a4c407ca638d516;hpb=2f5914c2ce4c612920dd96f5ef66e3bd342d2195;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/HttpFunctions.php b/includes/HttpFunctions.php index fbae861fc7..201a9e5a8d 100644 --- a/includes/HttpFunctions.php +++ b/includes/HttpFunctions.php @@ -778,12 +778,6 @@ class CurlHttpRequest extends MWHttpRequest { $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; }