summaryrefslogtreecommitdiff
path: root/oauthlib
diff options
context:
space:
mode:
authorIdan Gazit <idan@gazit.me>2012-04-23 14:37:30 +0300
committerIdan Gazit <idan@gazit.me>2012-04-23 14:37:30 +0300
commitf53f8b2372b9941ba07fc917045a58f4d292415b (patch)
tree152695f9da670100f9ae7f0020dd6f64c72ba518 /oauthlib
parent6a4a5ab88a9a8a774aa70631a79ca9c1b3ad5570 (diff)
downloadoauthlib-f53f8b2372b9941ba07fc917045a58f4d292415b.tar.gz
Document that collect_parameters expects headers as a dict
Diffstat (limited to 'oauthlib')
-rw-r--r--oauthlib/oauth1/rfc5849/signature.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/oauthlib/oauth1/rfc5849/signature.py b/oauthlib/oauth1/rfc5849/signature.py
index 65299a1..2a2868d 100644
--- a/oauthlib/oauth1/rfc5849/signature.py
+++ b/oauthlib/oauth1/rfc5849/signature.py
@@ -82,6 +82,8 @@ def collect_parameters(uri_query='', body=[], headers=None,
Body parameters must be supplied as a dict, a list of 2-tuples, or a
formencoded query string.
+ Headers must be supplied as a dict.
+
Per `section 3.4.1.3.1`_ of the spec.
.. _`section 3.4.1.3.1`: http://tools.ietf.org/html/rfc5849#section-3.4.1.3.1