Ticket #13730: 13730.diff
| File 13730.diff, 564 bytes (added by mdawaffe, 3 years ago) |
|---|
-
wp-includes/class-http.php
280 280 $r['headers']['Accept-Encoding'] = WP_Http_Encoding::accept_encoding(); 281 281 282 282 if ( empty($r['body']) ) { 283 $r['body'] = null; 283 284 // Some servers fail when sending content without the content-length header being set. 284 285 // Also, to fix another bug, we only send when doing POST and PUT and the content-length 285 286 // header isn't already set.
