summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.Test/Mocks/TestDirectResponseMessageWithHttpStatus.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2010-02-07 09:22:33 -0800
committerAndrew Arnott <andrewarnott@gmail.com>2010-02-07 09:22:33 -0800
commit38696fc68ca44a7f3fc37e95cd7c3340bdc6979d (patch)
treee68598a55c0587f15830aa1b9293d45ee9706e80 /src/DotNetOpenAuth.Test/Mocks/TestDirectResponseMessageWithHttpStatus.cs
parent371edfd922629af90b1266b56e1516e170d6d219 (diff)
downloadDotNetOpenAuth-38696fc68ca44a7f3fc37e95cd7c3340bdc6979d.zip
DotNetOpenAuth-38696fc68ca44a7f3fc37e95cd7c3340bdc6979d.tar.gz
DotNetOpenAuth-38696fc68ca44a7f3fc37e95cd7c3340bdc6979d.tar.bz2
A bunch of work on OAuth WRAP messages.
Diffstat (limited to 'src/DotNetOpenAuth.Test/Mocks/TestDirectResponseMessageWithHttpStatus.cs')
-rw-r--r--src/DotNetOpenAuth.Test/Mocks/TestDirectResponseMessageWithHttpStatus.cs12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/DotNetOpenAuth.Test/Mocks/TestDirectResponseMessageWithHttpStatus.cs b/src/DotNetOpenAuth.Test/Mocks/TestDirectResponseMessageWithHttpStatus.cs
index d692320..20fd6c4 100644
--- a/src/DotNetOpenAuth.Test/Mocks/TestDirectResponseMessageWithHttpStatus.cs
+++ b/src/DotNetOpenAuth.Test/Mocks/TestDirectResponseMessageWithHttpStatus.cs
@@ -8,6 +8,7 @@ namespace DotNetOpenAuth.Test.Mocks {
using System;
using System.Collections.Generic;
using System.Linq;
+ using System.Net;
using System.Text;
using DotNetOpenAuth.Messaging;
@@ -23,8 +24,15 @@ namespace DotNetOpenAuth.Test.Mocks {
/// <summary>
/// Gets or sets the HTTP status code that the direct respones should be sent with.
/// </summary>
- /// <value></value>
- public System.Net.HttpStatusCode HttpStatusCode { get; set; }
+ public HttpStatusCode HttpStatusCode { get; set; }
+
+ /// <summary>
+ /// Gets the HTTP headers to add to the response.
+ /// </summary>
+ /// <value>May be an empty collection, but must not be <c>null</c>.</value>
+ public WebHeaderCollection Headers {
+ get { return new WebHeaderCollection(); }
+ }
#endregion
}