treeform / puppy

Puppy fetches via HTTP and HTTPS
MIT License
185 stars 27 forks source link

On windows and Linux, "Set-Cookie" only get the last one header #52

Closed s0l0m0nc closed 2 years ago

s0l0m0nc commented 2 years ago

On windows and Linux, "Set-Cookie" only get the last one header. for example:

import puppy
let req = Request(
  url: parseUrl("https://azure.microsoft.com"),
  verb: "get"
)
let res = fetch(req)
echo res.headers

Screen Shot 2021-12-15 at 7 32 59 PM