mirror of
https://github.com/kennethreitz/requests.git
synced 2026-06-05 22:50:18 +00:00
use ";" instead "\r\n" as separator for cookies as is better supported
in odd web servers.
This commit is contained in:
+1
-1
@@ -431,7 +431,7 @@ class Request(object):
|
||||
c[k] = v
|
||||
|
||||
# Turn it into a header.
|
||||
cookie_header = c.output(header='').strip()
|
||||
cookie_header = c.output(header='', sep='; ').strip()
|
||||
|
||||
# Attach Cookie header to request.
|
||||
self.headers['Cookie'] = cookie_header
|
||||
|
||||
Reference in New Issue
Block a user