starlarky icon indicating copy to clipboard operation
starlarky copied to clipboard

When multiple headers have the same key, only one is preserved

Open mottersheadt opened this issue 2 years ago • 8 comments

Problem or feature statement

input.headers does not support multi-dict. If there are 2 Set-Cookie headers in an HTTP response, the second one gets deleted.

Advised solution

We should use the multi-dict feature in Larky to support having multiple headers with the same key.

mottersheadt avatar May 20 '22 17:05 mottersheadt