summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2009-04-30 23:49:28 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2009-04-30 23:49:28 -0700
commita808aade0eaabc9b4c0b10f220ba07c64586ad58 (patch)
tree78f67075384df373d7d2191e5294d5dd1a53b0e8 /src
parent2677b09851e2c535ea753e6c2c49e84a52fbfdeb (diff)
downloadDotNetOpenAuth-a808aade0eaabc9b4c0b10f220ba07c64586ad58.zip
DotNetOpenAuth-a808aade0eaabc9b4c0b10f220ba07c64586ad58.tar.gz
DotNetOpenAuth-a808aade0eaabc9b4c0b10f220ba07c64586ad58.tar.bz2
Fixed build break from last merge.
Diffstat (limited to 'src')
-rw-r--r--src/DotNetOpenAuth/Messaging/Channel.cs18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/DotNetOpenAuth/Messaging/Channel.cs b/src/DotNetOpenAuth/Messaging/Channel.cs
index 35793dc..df80f58 100644
--- a/src/DotNetOpenAuth/Messaging/Channel.cs
+++ b/src/DotNetOpenAuth/Messaging/Channel.cs
@@ -431,24 +431,6 @@ namespace DotNetOpenAuth.Messaging {
#endregion
/// <summary>
- /// Checks whether a given HTTP method is expected to include an entity body in its request.
- /// </summary>
- /// <param name="httpMethod">The HTTP method.</param>
- /// <returns><c>true</c> if the HTTP method is supposed to have an entity; <c>false</c> otherwise.</returns>
- protected static bool HttpMethodHasEntity(string httpMethod) {
- if (string.Equals(httpMethod, "GET", StringComparison.Ordinal) ||
- string.Equals(httpMethod, "HEAD", StringComparison.Ordinal) ||
- string.Equals(httpMethod, "DELETE", StringComparison.Ordinal)) {
- return false;
- } else if (string.Equals(httpMethod, "POST", StringComparison.Ordinal) ||
- string.Equals(httpMethod, "PUT", StringComparison.Ordinal)) {
- return true;
- } else {
- throw ErrorUtilities.ThrowArgumentNamed("httpMethod", MessagingStrings.UnsupportedHttpVerb, httpMethod);
- }
- }
-
- /// <summary>
/// Gets the current HTTP request being processed.
/// </summary>
/// <returns>The HttpRequestInfo for the current request.</returns>