Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
S
solarium
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
common
solarium
Commits
fe33751c
Commit
fe33751c
authored
Nov 17, 2011
by
Gasol Wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
_getRawHeaders rename to _toRawHeaders
parent
bd590f6e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
library/Solarium/Client/Adapter/PeclHttp.php
library/Solarium/Client/Adapter/PeclHttp.php
+2
-2
No files found.
library/Solarium/Client/Adapter/PeclHttp.php
View file @
fe33751c
...
@@ -85,7 +85,7 @@ class Solarium_Client_Adapter_PeclHttp extends Solarium_Client_Adapter
...
@@ -85,7 +85,7 @@ class Solarium_Client_Adapter_PeclHttp extends Solarium_Client_Adapter
return
new
Solarium_Client_Response
(
return
new
Solarium_Client_Response
(
$httpMessage
->
getBody
(),
$httpMessage
->
getBody
(),
$this
->
_
get
RawHeaders
(
$httpMessage
)
$this
->
_
to
RawHeaders
(
$httpMessage
)
);
);
}
}
...
@@ -105,7 +105,7 @@ class Solarium_Client_Adapter_PeclHttp extends Solarium_Client_Adapter
...
@@ -105,7 +105,7 @@ class Solarium_Client_Adapter_PeclHttp extends Solarium_Client_Adapter
* @param $message HttpMessage
* @param $message HttpMessage
* @return array
* @return array
*/
*/
protected
function
_
get
RawHeaders
(
$message
)
protected
function
_
to
RawHeaders
(
$message
)
{
{
$headers
[]
=
'HTTP/'
.
$message
->
getHttpVersion
()
$headers
[]
=
'HTTP/'
.
$message
->
getHttpVersion
()
.
' '
.
$message
->
getResponseCode
()
.
' '
.
$message
->
getResponseCode
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment