Skip to content

Incorrect handling of Set-Cookie header #68

@ebruchez

Description

@ebruchez

As per the Node doc:

set-cookie is always an array. Duplicates are added to the array.

Yet SimpleHttpResponse.headers are an HeaderMap[String]. But at runtime, headers.get("Set-Cookie") returns a js.Array[String] instead of a String.

(Just discussed the issue today on the Scala.js Gitter.)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions