diff options
author | Hsiaoming Yang <me@lepture.com> | 2015-07-02 15:10:26 +0800 |
---|---|---|
committer | Hsiaoming Yang <me@lepture.com> | 2015-07-03 14:55:26 +0800 |
commit | d8d7de6ac0d8f6988f876229d773a4a3042f988e (patch) | |
tree | c176481a73a8f10554db8f21436f5f20efc2b268 | |
parent | ff712701d78a1b19db786ad02cd5da06c592e033 (diff) | |
download | oauthlib-d8d7de6ac0d8f6988f876229d773a4a3042f988e.tar.gz |
Don't encode body twice
-rw-r--r-- | oauthlib/common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oauthlib/common.py b/oauthlib/common.py index d5d2eae..5399dcb 100644 --- a/oauthlib/common.py +++ b/oauthlib/common.py @@ -379,7 +379,7 @@ class Request(object): self.http_method = encode(http_method) self.headers = CaseInsensitiveDict(encode(headers or {})) self.body = encode(body) - self.decoded_body = extract_params(encode(body)) + self.decoded_body = extract_params(self.body) self.oauth_params = [] self._params = { |