File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -78,10 +78,10 @@ def parse_cookies(cookie_str, dictionary):
7878 # Now the following is True
7979 dictionary['my'] == 'value'
8080
81- :param cookie_str: A string containing "key=value" pairs from an HTTP "Set-Cookie" header
82- :type msg : ``str``
83- :param dictionary: A dictionary to update with any found key-value pairs
84- :type msg : ``dict``
81+ :param cookie_str: A string containing "key=value" pairs from an HTTP "Set-Cookie" header.
82+ :type cookie_str : ``str``
83+ :param dictionary: A dictionary to update with any found key-value pairs.
84+ :type dictionary : ``dict``
8585 """
8686 parsed_cookie = Cookie .SimpleCookie (cookie_str )
8787 for cookie in parsed_cookie .values ():
@@ -99,7 +99,8 @@ def make_cookie_header(cookies):
9999 # Now the following is True
100100 header == "key=value; key_2=value_2"
101101
102- :param cookies:
102+ :param cookies: A list of 2-tuples of cookie key-value pairs.
103+ :type cookies: ``list`` of 2-tuples
103104 :return: ``str` An HTTP header cookie string.
104105 :rtype: ``str``
105106 """
You can’t perform that action at this time.
0 commit comments