summaryrefslogtreecommitdiffstats
path: root/Auth/OpenID/Discover.php
diff options
context:
space:
mode:
Diffstat (limited to 'Auth/OpenID/Discover.php')
-rw-r--r--Auth/OpenID/Discover.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Auth/OpenID/Discover.php b/Auth/OpenID/Discover.php
index 1bdfa26..62aeb1d 100644
--- a/Auth/OpenID/Discover.php
+++ b/Auth/OpenID/Discover.php
@@ -475,7 +475,7 @@ function Auth_OpenID_discoverWithoutYadis($uri, &$fetcher)
{
$http_resp = @$fetcher->get($uri);
- if ($http_resp->status != 200) {
+ if ($http_resp->status != 200 and $http_resp->status != 206) {
return array($uri, array());
}
@@ -545,4 +545,4 @@ function Auth_OpenID_discover($uri, &$fetcher)
return $result;
}
-?> \ No newline at end of file
+?>