diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2009-06-22 08:26:23 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2009-06-22 08:27:22 -0700 |
commit | 72878a1268c0afbed57b35d2fc63c0884ac93113 (patch) | |
tree | bac06c9f21613db0ae5eb2ea9d69e3936a5e9270 /src | |
parent | 8d2ce0e2b53d83dc92ac5fd758b8146245fe5e82 (diff) | |
download | DotNetOpenAuth-72878a1268c0afbed57b35d2fc63c0884ac93113.zip DotNetOpenAuth-72878a1268c0afbed57b35d2fc63c0884ac93113.tar.gz DotNetOpenAuth-72878a1268c0afbed57b35d2fc63c0884ac93113.tar.bz2 |
Fixed bug where indirect messages were not sent to the user agent with a Content-Type HTTP header.v3.0.3.9177
Diffstat (limited to 'src')
-rw-r--r-- | src/DotNetOpenAuth/Messaging/Channel.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/DotNetOpenAuth/Messaging/Channel.cs b/src/DotNetOpenAuth/Messaging/Channel.cs index 5998c17..7435a90 100644 --- a/src/DotNetOpenAuth/Messaging/Channel.cs +++ b/src/DotNetOpenAuth/Messaging/Channel.cs @@ -675,6 +675,7 @@ namespace DotNetOpenAuth.Messaging { ErrorUtilities.VerifyArgumentNotNull(fields, "fields"); WebHeaderCollection headers = new WebHeaderCollection(); + headers.Add(HttpResponseHeader.ContentType, "text/html"); StringWriter bodyWriter = new StringWriter(CultureInfo.InvariantCulture); StringBuilder hiddenFields = new StringBuilder(); foreach (var field in fields) { |