Skip to content

Commit

Permalink
remove unused class; change default HTTP method to POST for commons h…
Browse files Browse the repository at this point in the history
…ttp provider
  • Loading branch information
mttkay committed Mar 12, 2010
1 parent 6132583 commit 60a29bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 169 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.client.HttpClient;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.client.methods.HttpUriRequest;
import org.apache.http.impl.client.DefaultHttpClient;

Expand Down Expand Up @@ -55,7 +55,7 @@ public void setHttpClient(HttpClient httpClient) {

@Override
protected HttpRequest createRequest(String endpointUrl) throws Exception {
HttpGet request = new HttpGet(endpointUrl);
HttpPost request = new HttpPost(endpointUrl);
return new HttpRequestAdapter(request);
}

Expand Down
167 changes: 0 additions & 167 deletions signpost-core/src/main/java/oauth/signpost/http/RequestParameters.java

This file was deleted.

0 comments on commit 60a29bd

Please sign in to comment.