Skip to content
Myr

use ";" instead "\r\n" as separator for cookies as is better supported

Before adoption: this commit came in with the history the project adopted, so no landing records it.

in odd web servers.

authored by Rolando Espinoza La fuente · committed by Rolando Espinoza La fuente · parent bf499a8 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:requests/models.py+1 added-1 removed
429 unmodified lines
430 for (k, v) in self.cookies.items():431 c[k] = v432433 # Turn it into a header.434 cookie_header = c.output(header='').strip()434 cookie_header = c.output(header='', sep='; ').strip()435436 # Attach Cookie header to request.437 self.headers['Cookie'] = cookie_header438
186 unmodified lines