diff options
Diffstat (limited to 'src/DotNetOpenId/Yadis/Yadis.cs')
-rw-r--r-- | src/DotNetOpenId/Yadis/Yadis.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DotNetOpenId/Yadis/Yadis.cs b/src/DotNetOpenId/Yadis/Yadis.cs index c617123..01edf67 100644 --- a/src/DotNetOpenId/Yadis/Yadis.cs +++ b/src/DotNetOpenId/Yadis/Yadis.cs @@ -55,7 +55,7 @@ namespace DotNetOpenId.Yadis { Logger.DebugFormat("{0} found in HTTP header. Preparing to pull XRDS from {1}", HeaderName, url);
}
}
- if (url == null && response.ContentType.MediaType == ContentTypes.Html) {
+ if (url == null && (response.ContentType.MediaType == ContentTypes.Html || response.ContentType.MediaType == ContentTypes.XHtml)) {
url = FindYadisDocumentLocationInHtmlMetaTags(response.ReadResponseString());
if (url != null) {
Logger.DebugFormat("{0} found in HTML Http-Equiv tag. Preparing to pull XRDS from {1}", HeaderName, url);
|