diff options
author | Kevin Turner <kevin@janrain.com> | 2008-05-21 23:37:31 +0000 |
---|---|---|
committer | Kevin Turner <kevin@janrain.com> | 2008-05-21 23:37:31 +0000 |
commit | 0a58ec4c1d3cc96b249147e4e2554a83ff80f725 (patch) | |
tree | 6d0b16d8d97232fb3695c394eac8ec4cbaa98a19 /Auth | |
parent | 9a39e5f7733c0588a532bbcef19e9d65b4bf0d29 (diff) | |
download | php-openid-0a58ec4c1d3cc96b249147e4e2554a83ff80f725.zip php-openid-0a58ec4c1d3cc96b249147e4e2554a83ff80f725.tar.gz php-openid-0a58ec4c1d3cc96b249147e4e2554a83ff80f725.tar.bz2 |
[project @ Yadis: add application/xhtml+xml to Accept header, include qualities]
Diffstat (limited to 'Auth')
-rw-r--r-- | Auth/Yadis/Yadis.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Auth/Yadis/Yadis.php b/Auth/Yadis/Yadis.php index 78d61f1..e8c3aa8 100644 --- a/Auth/Yadis/Yadis.php +++ b/Auth/Yadis/Yadis.php @@ -281,7 +281,8 @@ class Auth_Yadis_Yadis { $result = new Auth_Yadis_DiscoveryResult($uri); $request_uri = $uri; - $headers = array("Accept: " . Auth_Yadis_CONTENT_TYPE . ', text/html'); + $headers = array("Accept: " . Auth_Yadis_CONTENT_TYPE . + ', text/html; q=0.3, application/xhtml+xml; 0.5'); if (!$fetcher) { $fetcher = Auth_Yadis_Yadis::getHTTPFetcher($timeout); |