Skip to content

Headers Cookie not combined with Managed Cookie cookies #9609

@Kenttleton

Description

@Kenttleton

Expected Behavior

The expected behavior is that the cookie header in the requestis added with stored cookies resulting in a single cookie, semi-colon deliniated, in the request. For example this is how cURL does it:

curl --request POST \
  --url https://something.com/api \
  --header 'Content-Type: application/json' \
  --header 'Cookie: session_id=<uuid>' \
  --cookie 'AWSALB=<32bit string>; AWSALBCORS=<32bitstring>' \
  --data '{}'

The above cURL was generated by Insomnia but succeeds in cURL.

Actual Behavior

Insomnia creates multiple cookies in the request and only the first one is read by the server. See Insomnia console output of the same query:

> POST /api HTTP/2
> Host: https://something.com
> cookie: AWSALBCORS=<32bitstring>; AWSALB=<32bit string>
> content-type: application/json
> cookie: session_id=<uuid>
> accept: */*
> content-length: 2

Reproduction Steps

Make an API call with a cookie in the headers section of the request and a stored cookie in the managed cookies. The console output shows multiple cookies being created. Export the same query for cURL and it will concat all the cookies into one cookie.

Is there an existing issue for this?

Which sync method do you use?

  • Git sync.
  • Insomnia Cloud sync.
  • Local only

Additional Information

No response

Insomnia Version

v12.3.0

What operating system are you using?

macOS

Operating System Version

macOS Tahoe Version 26.2

Installation method

homebrew

Last Known Working Insomnia version

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    B-bugBug: general classificationS-unverifiedStatus: Unverified by maintainer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions