|
"In HTTP/2, while the conventional Cookie request header sends multiple cookies separated by a semicolon (Cookie: a=1; b=2), HTTP/2 specifically supports and recommends splitting headers to optimize compression, allowing the browser to send each cookie as a separate cookie header field." I observed this behavior in browser HTTP/2 requests, but I couldn’t find a way to replicate this pattern. Is it possible? |
Answered by
0x676e67
Feb 18, 2026
Replies: 1 comment 1 reply
|
custom jar:https://github.com/0x676e67/rnet/blob/main/python/rnet/cookie.py#L105 or per-request cookies,You can set compressed cookies or cookies dictionary. https://github.com/0x676e67/rnet/blob/main/python/rnet/__init__.pyi#L796 |
1 reply
Answer selected by
Pemoca
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
custom jar:https://github.com/0x676e67/rnet/blob/main/python/rnet/cookie.py#L105
or
per-request cookies,You can set compressed cookies or cookies dictionary.
https://github.com/0x676e67/rnet/blob/main/python/rnet/__init__.pyi#L796