Permalink
Browse files

Merge remote branch 'petedoyle/master'

  • Loading branch information...
acampbell3000
acampbell3000 committed Aug 31, 2010
2 parents 6c82067 + 7709029 commit 943863d1ce0f74a2da69d5f58594bddf8ac03966
Showing with 3 additions and 0 deletions.
  1. +3 −0 oauth-plugin/grails-app/services/org/grails/plugins/oauth/OauthService.groovy
@@ -262,6 +262,9 @@ class OauthService implements InitializingBean {
// Create an HTTP request to a protected resource
final HttpURLConnection request = (HttpURLConnection) url.openConnection()
+
+ // Set the request method (i.e. GET, POST, etc)
+ request.setRequestMethod(method)
if (params) {
log.debug "Putting additional params: $params"

0 comments on commit 943863d

Please sign in to comment.