Adjusted Response._headers structure to allow array values, more closely resembling Express' implementation. This allows for duplicate headers like set-cookie. Also added the append function to Response. Hoping this will pave the way for Response.cookie.
Adjusted
Response._headers
structure to allow array values, more closely resembling Express' implementation. This allows for duplicate headers likeset-cookie
. Also added theappend
function toResponse
. Hoping this will pave the way forResponse.cookie
.