[ ] ๐ Documentation (updates to the documentation, readme, or JSdoc annotations)
[x] ๐ Bug fix (a non-breaking change that fixes an issue)
[ ] ๐ Enhancement (improving an existing functionality like performance)
[ ] โจ New feature (a non-breaking change that adds functionality)
[ ] ๐งน Chore (updates to the build process or auxiliary tools and libraries)
[ ] โ ๏ธ Breaking change (fix or feature that would cause existing functionality to change)
๐ Description
This PR changes the odd unenv behaviour that joined multiple value headers instead of preserving the array.
This brings setHeader behaviour in line with appendHeader when it comes to multiple values headers.
๐ Linked issue
fix https://github.com/unjs/unenv/issues/118
โ Type of change
๐ Description
This PR changes the odd unenv behaviour that joined multiple value headers instead of preserving the array. This brings
setHeader
behaviour in line withappendHeader
when it comes to multiple values headers.๐ Checklist