-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Labels
B-bugBug: general classificationBug: general classificationS-unverifiedStatus: Unverified by maintainerStatus: Unverified by maintainer
Description
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?
- I have searched the issue tracker for this problem.
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
B-bugBug: general classificationBug: general classificationS-unverifiedStatus: Unverified by maintainerStatus: Unverified by maintainer