summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.Core/Messaging/ProtocolFaultResponseException.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/DotNetOpenAuth.Core/Messaging/ProtocolFaultResponseException.cs')
-rw-r--r--src/DotNetOpenAuth.Core/Messaging/ProtocolFaultResponseException.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/DotNetOpenAuth.Core/Messaging/ProtocolFaultResponseException.cs b/src/DotNetOpenAuth.Core/Messaging/ProtocolFaultResponseException.cs
index 4d5c418..3c8839e 100644
--- a/src/DotNetOpenAuth.Core/Messaging/ProtocolFaultResponseException.cs
+++ b/src/DotNetOpenAuth.Core/Messaging/ProtocolFaultResponseException.cs
@@ -8,6 +8,7 @@ namespace DotNetOpenAuth.Messaging {
using System;
using System.Collections.Generic;
using System.Linq;
+ using System.Net.Http;
using System.Text;
using Validation;
@@ -62,7 +63,7 @@ namespace DotNetOpenAuth.Messaging {
/// Creates the HTTP response to forward to the client to report the error.
/// </summary>
/// <returns>The HTTP response.</returns>
- public OutgoingWebResponse CreateErrorResponse() {
+ public HttpResponseMessage CreateErrorResponse() {
var response = this.channel.PrepareResponse(this.ErrorResponseMessage);
return response;
}