mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #1546] Cookie missing in response #492
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#492
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @A-Chainsmokers on GitHub (Mar 18, 2021).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/1546
Originally assigned to: @CuriousCorrelation on GitHub.
The response has three set-cookies,But it only gets one(Please forgive me for my poor English)


@liyasthomas commented on GitHub (Mar 18, 2021):
Thanks for reporting the issue. This shouldn't happen in normal scenarios. We're investigating if there's any internal blockers on displaying multiple headers with same keys. Please be patient.
@A-Chainsmokers commented on GitHub (Mar 18, 2021):
@liyasthomas The same key will reset the value,You can try to make him present in the form of an array
@Townsheriff commented on GitHub (Jan 26, 2022):
Hey,
I'm wondering why this is closed with no explanation? I'm having same issue. If the logs and test case are missing I can sure provide it.
In my case I have one "Set-Cookie" in the curl and nothing in the headers response in the hoppscotch.
Maybe this is somewhat related with httponly. httponly is a cookie that is not accessible through javascript and is automatically attached to requests for specific domain.
MDN docs - here.
Cheers,
Arturs
@yrachid commented on GitHub (Dec 19, 2023):
I was recently testing a similar scenario and just wanted to add that this issue is not specific to cookies, any duplicate header will be overwritten:
Although unusual, this is technically a correct use of HTTP Headers, as long as the values can be combined into a comma-separated list. The only exception is for Set-Cookie, which violates HTTP specs: https://datatracker.ietf.org/doc/html/rfc7230#section-3.2.2
@satyadeepk commented on GitHub (May 8, 2024):
According to this doc, multiple set-cookie headers are valid. https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie,
Can you please re-open the issue
@MexHigh commented on GitHub (May 26, 2024):
Yes please @liyasthomas, this does not work for me, too.
I've built a small python Flask app to test multiple
Set-Cookieheaders:Hoppscotch Desktop (24.3.2) only shows the last
Set-Cookieheader (cookie2) and thex-header-testheader.@timemrah commented on GitHub (Apr 6, 2025):
When I set two separate cookies in a request, I only see one.
Headers sent by backend:
Headers displayed by Hoppscotch
@Wdestroier commented on GitHub (Jul 26, 2025):
I'm having the same issue. Only a single header key/name is kept.
Hoppscotch:
Postman:
@supriyahegde commented on GitHub (Jul 28, 2025):
Hi Team, Im also facing this issue in v2025.6.1 desktop app.
Could you please help us to get this fixed.
@jamesgeorge007 @liyasthomas
@liyasthomas commented on GitHub (Sep 29, 2025):
The latest version of Hoppscotch has resolved this bug.