mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-14 11:21:02 +00:00
Fix concatenation of multiple cookie values.
This commit is contained in:
parent
da6d7b0eca
commit
4feea986b4
1 changed files with 2 additions and 0 deletions
|
|
@ -622,6 +622,8 @@ class HttpUrl (internpaturl.InternPatternUrl, proxysupport.ProxySupport):
|
|||
self.url_connection.putheader(headername, cookievalue)
|
||||
headervalue = ""
|
||||
continue
|
||||
if headervalue:
|
||||
cookievalue = "; " + cookievalue
|
||||
if (len(headervalue) + len(cookievalue)) < max_value_len:
|
||||
headervalue += cookievalue
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in a new issue