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:
parent
7cf788ba56
commit
158b8c81e9
@ -760,7 +760,7 @@ class WP_Http_Streams {
|
|||||||
$arrContext = array('http' =>
|
$arrContext = array('http' =>
|
||||||
array(
|
array(
|
||||||
'method' => strtoupper($r['method']),
|
'method' => strtoupper($r['method']),
|
||||||
'user-agent' => $r['user-agent'],
|
'user_agent' => $r['user-agent'],
|
||||||
'max_redirects' => $r['redirection'],
|
'max_redirects' => $r['redirection'],
|
||||||
'protocol_version' => (float) $r['httpversion'],
|
'protocol_version' => (float) $r['httpversion'],
|
||||||
'header' => $strHeaders,
|
'header' => $strHeaders,
|
||||||
|
Loading…
Reference in New Issue
Block a user