summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2009-04-30 16:27:38 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2009-04-30 16:27:38 -0700
commitc946714b6bd210fdba1afc68daa77aa972f765e9 (patch)
treea11bb4058c9639b6ec1367ba50db6f4091db83ae
parentafd97c90b841a08b98a8b9eec09508f61fdd24e3 (diff)
downloadDotNetOpenAuth-c946714b6bd210fdba1afc68daa77aa972f765e9.zip
DotNetOpenAuth-c946714b6bd210fdba1afc68daa77aa972f765e9.tar.gz
DotNetOpenAuth-c946714b6bd210fdba1afc68daa77aa972f765e9.tar.bz2
Revert "Fixed OAuth authorization header handler to use POST requests where necessary."
This reverts commit 0a3e7432b58f52072159356576a905c2217c55a0. The solution I had checked in before was an incomplete solution to the problem.
-rw-r--r--src/DotNetOpenAuth/OAuth/ChannelElements/OAuthChannel.cs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/DotNetOpenAuth/OAuth/ChannelElements/OAuthChannel.cs b/src/DotNetOpenAuth/OAuth/ChannelElements/OAuthChannel.cs
index a52a4f5..b18b809 100644
--- a/src/DotNetOpenAuth/OAuth/ChannelElements/OAuthChannel.cs
+++ b/src/DotNetOpenAuth/OAuth/ChannelElements/OAuthChannel.cs
@@ -285,10 +285,6 @@ namespace DotNetOpenAuth.OAuth.ChannelElements {
httpRequest.Headers.Add(HttpRequestHeader.Authorization, authorization.ToString());
- if ((requestMessage.HttpMethods & HttpDeliveryMethods.PostRequest) != 0) {
- httpRequest.Method = "POST";
- }
-
return httpRequest;
}