Permalink
Browse files

Do not add params to *both* the query string and headers.

  • Loading branch information...
petedoyle committed Sep 2, 2010
1 parent cdff243 commit a838ddfc525b2c2dc132b937ea2f55a7f69e20eb
Showing with 0 additions and 10 deletions.
  1. +0 −10 oauth-plugin/grails-app/services/org/grails/plugins/oauth/OauthService.groovy
@@ -298,16 +298,6 @@ class OauthService implements InitializingBean {
// Set the request method (i.e. GET, POST, etc)
request.setRequestMethod(method)
- if (params) {
- log.debug "Putting additional params as headers: $params"
-
- params.each { key, value ->
- request.addRequestProperty(key, "$value")
- }
-
- log.debug "Request properties are now: ${request?.getRequestProperties()}"
- }
-
// Sign the request
consumer.sign(request)

0 comments on commit a838ddf

Please sign in to comment.