diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2008-09-10 14:41:29 -0700 |
---|---|---|
committer | Andrew <andrewarnott@gmail.com> | 2008-09-10 14:41:29 -0700 |
commit | 9a4d199c6397d2ce3d42e819f433c319a1f3ad20 (patch) | |
tree | d4e10af93c70f3f4f34a1aa114c48e48ffa4cdee /src/DotNetOAuth/Messaging/Response.cs | |
parent | 08c9922ce58fc07ce3764b6229b10225c7f9bd89 (diff) | |
download | DotNetOpenAuth-9a4d199c6397d2ce3d42e819f433c319a1f3ad20.zip DotNetOpenAuth-9a4d199c6397d2ce3d42e819f433c319a1f3ad20.tar.gz DotNetOpenAuth-9a4d199c6397d2ce3d42e819f433c319a1f3ad20.tar.bz2 |
Great code coverage everywhere we care except for OAuthProtocol and OAuthMessageTypeProvider.
Diffstat (limited to 'src/DotNetOAuth/Messaging/Response.cs')
-rw-r--r-- | src/DotNetOAuth/Messaging/Response.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/DotNetOAuth/Messaging/Response.cs b/src/DotNetOAuth/Messaging/Response.cs index 6413e68..81089ed 100644 --- a/src/DotNetOAuth/Messaging/Response.cs +++ b/src/DotNetOAuth/Messaging/Response.cs @@ -25,11 +25,11 @@ namespace DotNetOAuth.Messaging { /// </remarks>
public class Response {
/// <summary>
- /// Initializes an instance of the <see cref="Response"/> class.
+ /// Initializes a new instance of the <see cref="Response"/> class.
/// </summary>
internal Response() {
- Status = HttpStatusCode.OK;
- Headers = new WebHeaderCollection();
+ this.Status = HttpStatusCode.OK;
+ this.Headers = new WebHeaderCollection();
}
/// <summary>
@@ -71,7 +71,7 @@ namespace DotNetOAuth.Messaging { HttpContext.Current.Response.StatusCode = (int)this.Status;
MessagingUtilities.ApplyHeadersToResponse(this.Headers, HttpContext.Current.Response);
if (this.Body != null) {
- HttpContext.Current.Response.Output.Write(Body);
+ HttpContext.Current.Response.Output.Write(this.Body);
}
HttpContext.Current.Response.End();
}
|