diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2013-03-27 20:59:32 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2013-03-27 20:59:32 -0700 |
commit | c556ab1644fc8fd16fc3ab3c36ecbeff6c989ceb (patch) | |
tree | de5635b324c89f672613e72a96b0cc3e9aad6ea4 /src | |
parent | c8257380deb3e2ca9abd47a35b37c33f0951044e (diff) | |
download | DotNetOpenAuth-c556ab1644fc8fd16fc3ab3c36ecbeff6c989ceb.zip DotNetOpenAuth-c556ab1644fc8fd16fc3ab3c36ecbeff6c989ceb.tar.gz DotNetOpenAuth-c556ab1644fc8fd16fc3ab3c36ecbeff6c989ceb.tar.bz2 |
Fixes two unit tests that fail in Release configurations.
Diffstat (limited to 'src')
-rw-r--r-- | src/DotNetOpenAuth.OpenId/OpenId/ChannelElements/OpenIdChannel.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DotNetOpenAuth.OpenId/OpenId/ChannelElements/OpenIdChannel.cs b/src/DotNetOpenAuth.OpenId/OpenId/ChannelElements/OpenIdChannel.cs index 9bc570a..4b39770 100644 --- a/src/DotNetOpenAuth.OpenId/OpenId/ChannelElements/OpenIdChannel.cs +++ b/src/DotNetOpenAuth.OpenId/OpenId/ChannelElements/OpenIdChannel.cs @@ -187,7 +187,7 @@ namespace DotNetOpenAuth.OpenId.ChannelElements { var fields = messageAccessor.Serialize(); byte[] keyValueEncoding = KeyValueFormEncoding.GetBytes(fields); - var preparedResponse = new HttpResponseMessage(); + var preparedResponse = new HttpResponseMessageWithOriginal(response); ApplyMessageTemplate(response, preparedResponse); var content = new StreamContent(new MemoryStream(keyValueEncoding)); content.Headers.ContentType = new MediaTypeHeaderValue(KeyValueFormContentType); |