user_agent, not user-agent, for Streams transport. Props alexrabe. fixes #8500

git-svn-id: https://develop.svn.wordpress.org/trunk@10072 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-12-05 20:12:51 +00:00
parent 7cf788ba56
commit 158b8c81e9
1 changed files with 1 additions and 1 deletions

View File

@ -760,7 +760,7 @@ class WP_Http_Streams {
$arrContext = array('http' =>
array(
'method' => strtoupper($r['method']),
'user-agent' => $r['user-agent'],
'user_agent' => $r['user-agent'],
'max_redirects' => $r['redirection'],
'protocol_version' => (float) $r['httpversion'],
'header' => $strHeaders,