Add a way for packagers to override some installation details
[lhc/web/wiklou.git] / includes / HttpFunctions.php
index fbae861..201a9e5 100644 (file)
@@ -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;
        }