Changeset 8588
- Timestamp:
- 08/08/2008 04:28:07 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/http.php
r8586 r8588 446 446 $strHeaders .= strtoupper($r['method']) . ' ' . $requestPath . ' HTTP/' . $r['httpversion'] . "\r\n"; 447 447 $strHeaders .= 'Host: ' . $arrURL['host'] . "\r\n"; 448 if ( ! is_null($body) ) { 449 $strHeaders .= 'Content-Type: application/x-www-form-urlencoded; charset=' . get_option('blog_charset') . "\r\n"; 450 $strHeaders .= 'Content-Length: ' . strlen($body) . "\r\n"; 451 } 448 452 449 453 if ( is_array($headers) ) {
Note: See TracChangeset
for help on using the changeset viewer.