Ticket #10783: http.php.patch
File http.php.patch, 534 bytes (added by , 16 years ago) |
---|
-
wp-includes/http.php
280 280 if ( is_null($r['body']) ) { 281 281 // Some servers fail when sending content without the content-length 282 282 // header being set. 283 $r['headers']['Content-Length'] = 0;283 $r['headers']['Content-Length'] = null; 284 284 $transports = WP_Http::_getTransport($r); 285 285 } else { 286 286 if ( is_array( $r['body'] ) || is_object( $r['body'] ) ) {