Skip to content

Multiple response headers with same name are not set on http response #35

@steinfletcher

Description

@steinfletcher

I am trying to set multiple cookies with the same name on the gock response, but it always seems to only set the first cookie on the response object.

Am I doing something wrong - is there a better way to set cookies?

The mergeHeaders function appears to be the culprit. I have a solution and test here: steinfletcher@75ea39d

Thanks

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions