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
b270e9e7
Commit
b270e9e7
authored
Mar 08, 2011
by
Bas de Nooijer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- code style and documentation fixes
parent
8dabbb82
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
library/Solarium/Client/Adapter/Http.php
library/Solarium/Client/Adapter/Http.php
+1
-1
library/Solarium/Client/HttpException.php
library/Solarium/Client/HttpException.php
+6
-3
No files found.
library/Solarium/Client/Adapter/Http.php
View file @
b270e9e7
...
@@ -159,7 +159,7 @@ class Solarium_Client_Adapter_Http extends Solarium_Client_Adapter
...
@@ -159,7 +159,7 @@ class Solarium_Client_Adapter_Http extends Solarium_Client_Adapter
{
{
// get the status header
// get the status header
$statusHeader
=
null
;
$statusHeader
=
null
;
foreach
(
$headers
AS
$header
)
{
foreach
(
$headers
AS
$header
)
{
if
(
substr
(
$header
,
0
,
4
)
==
'HTTP'
)
{
if
(
substr
(
$header
,
0
,
4
)
==
'HTTP'
)
{
$statusHeader
=
$header
;
$statusHeader
=
$header
;
break
;
break
;
...
...
library/Solarium/Client/HttpException.php
View file @
b270e9e7
...
@@ -42,10 +42,13 @@
...
@@ -42,10 +42,13 @@
* HTTP errors usually mean your Solr settings or Solr input (e.g. query)
* HTTP errors usually mean your Solr settings or Solr input (e.g. query)
* contain an error.
* contain an error.
*
*
* The getCode method will return the HTTP response code returned by the server.
* The getMessage method returns an error description that includes the status
* message and code.
*
*
* The getMessage method will return the corresponding message, as returned by
* The getCode method will return the HTTP response code returned by the server
* the server.
* (if available).
*
* The getStatusMessage method will return the HTTP status message.
*
*
* @package Solarium
* @package Solarium
* @subpackage Client
* @subpackage Client
...
...
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