diff options
author | Kevin Turner <kevin@janrain.com> | 2008-06-11 22:18:05 +0000 |
---|---|---|
committer | Kevin Turner <kevin@janrain.com> | 2008-06-11 22:18:05 +0000 |
commit | ab5960e7b48a3a93b0b70cd01c5d3958ca56bff7 (patch) | |
tree | b392f2ef92480ed24a5f9730044d59b036c2c497 /Auth/Yadis/XRIRes.php | |
parent | e72c76873773e1ac24fa0d5d580d20ca27bfa982 (diff) | |
download | php-openid-ab5960e7b48a3a93b0b70cd01c5d3958ca56bff7.zip php-openid-ab5960e7b48a3a93b0b70cd01c5d3958ca56bff7.tar.gz php-openid-ab5960e7b48a3a93b0b70cd01c5d3958ca56bff7.tar.bz2 |
[project @ Accept response code 206 from fetcher results. Fixes #260]
Diffstat (limited to 'Auth/Yadis/XRIRes.php')
-rw-r--r-- | Auth/Yadis/XRIRes.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Auth/Yadis/XRIRes.php b/Auth/Yadis/XRIRes.php index b90591f..4e8e8d0 100644 --- a/Auth/Yadis/XRIRes.php +++ b/Auth/Yadis/XRIRes.php @@ -44,7 +44,7 @@ class Auth_Yadis_ProxyResolver { foreach ($service_types as $service_type) { $url = $this->queryURL($xri, $service_type); $response = $this->fetcher->get($url); - if ($response->status != 200) { + if ($response->status != 200 and $response->status != 206) { continue; } $xrds = Auth_Yadis_XRDS::parseXRDS($response->body); @@ -69,4 +69,4 @@ class Auth_Yadis_ProxyResolver { } } -?>
\ No newline at end of file +?> |