mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Merge pull request #48815 from pengyao/salt_utils_http_parse_cookie_header
Fix parse_cookie_header function cookie name always None
This commit is contained in:
commit
12081f2ef3
@ -921,6 +921,7 @@ def parse_cookie_header(header):
|
||||
for item in list(cookie):
|
||||
if item in attribs:
|
||||
continue
|
||||
name = item
|
||||
value = cookie.pop(item)
|
||||
|
||||
# cookielib.Cookie() requires an epoch
|
||||
|
Loading…
Reference in New Issue
Block a user