WordPress.org

Make WordPress Core

Changeset 11932


Ignore:
Timestamp:
09/14/2009 08:49:18 PM (11 years ago)
Author:
ryan
Message:

Use null instead of 0 when setting content length. Props noel. fixes #10783

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/http.php

    r11930 r11932  
    281281            // Some servers fail when sending content without the content-length
    282282            // header being set.
    283             $r['headers']['Content-Length'] = 0;
     283            $r['headers']['Content-Length'] = null;
    284284            $transports = WP_Http::_getTransport($r);
    285285        } else {
Note: See TracChangeset for help on using the changeset viewer.