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

git-svn-id: http://svn.automattic.com/wordpress/trunk@10072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-12-05 20:12:51 +00:00
parent d2394de2d7
commit 332477a986
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,