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
a918b066
Commit
a918b066
authored
Aug 19, 2011
by
Gasol Wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
indent
parent
0b2b8351
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
library/Solarium/Client/Adapter/PeclHttp.php
library/Solarium/Client/Adapter/PeclHttp.php
+7
-4
No files found.
library/Solarium/Client/Adapter/PeclHttp.php
View file @
a918b066
...
...
@@ -83,8 +83,10 @@ class Solarium_Client_Adapter_PeclHttp extends Solarium_Client_Adapter
throw
new
Solarium_Client_HttpException
(
$error
);
}
return
new
Solarium_Client_Response
(
$httpMessage
->
getBody
(),
$this
->
_getRawHeaders
(
$httpMessage
));
return
new
Solarium_Client_Response
(
$httpMessage
->
getBody
(),
$this
->
_getRawHeaders
(
$httpMessage
)
);
}
/**
...
...
@@ -141,8 +143,9 @@ class Solarium_Client_Adapter_PeclHttp extends Solarium_Client_Adapter
$method
=
HTTP_METH_HEAD
;
break
;
default
:
throw
new
Solarium_Exception
(
'Unsupported method: '
.
$request
->
getMethod
());
throw
new
Solarium_Exception
(
'Unsupported method: '
.
$request
->
getMethod
()
);
}
$options
=
$this
->
_createOptions
(
$request
);
...
...
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