Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(106)

Unified Diff: Src/GoogleApis/Apis/Http/HttpExtenstions.cs

Issue 13412046: Reimplement OAuth2 library - Step 1 (Closed) Base URL: https://google-api-dotnet-client.googlecode.com/hg/
Patch Set: minor Created 11 years ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Src/GoogleApis/Apis/Http/HttpExtenstions.cs
===================================================================
--- a/Src/GoogleApis/Apis/Http/HttpExtenstions.cs
b/Src/GoogleApis/Apis/Http/HttpExtenstions.cs
@@ -19,13 19,13 @@
namespace Google.Apis.Http
{
- /// <summary>
/// <summary>
/// Extension methods to <see cref="System.Net.Http.HttpRequestMessage"/> and
/// <see cref="System.Net.Http.HttpResponseMessage"/>.
/// </summary>
static class HttpExtenstions
{
- /// <summary> Returns <c>true</c> if the response contains one of the redirect status codes. </summary>
/// <summary>Returns <c>true</c> if the response contains one of the redirect status codes.</summary>
public static bool IsRedirectStatusCode(this HttpResponseMessage message)
{
switch (message.StatusCode)
@@ -40,7 40,7 @@
}
}
- /// <summary> Sets an empty Http content. </summary>
/// <summary>Sets an empty HTTP content.</summary>
public static HttpContent SetEmptyContent(this HttpRequestMessage request)
{
request.Content = new ByteArrayContent(new byte[0]);

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b