-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
I have checked the following:
- I have searched existing issues and found nothing related to my issue.
This bug is:
- making Bruno unusable for me
- slowing me down but I'm able to continue working
- annoying
- this feature was working in a previous version but is broken in the current release.
Bruno version
3.1.4
Operating System
macOS 15.6.1
Describe the bug
Bruno ignores cookie set manually when it is prefixed by "__Host".
See the example below
.bru file to reproduce the bug
meta {
name: Fetch bruno website and save __Host cookie
type: http
seq: 10
}
get {
url: https://usebruno.com
body: none
auth: inherit
}
script:post-response {
// This doesn't work
bru.cookies.jar().setCookie('https://usebruno.com', {
key: '__Host-SESSION',
value: '12345',
path: '/',
secure: true,
httpOnly: true
})
// This does
bru.cookies.jar().setCookie('https://usebruno.com', {
key: 'Host-SESSION',
value: '12345',
path: '/',
secure: true,
httpOnly: true
})
}
settings {
encodeUrl: true
timeout: 0
}
Screenshots/Live demo link

Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working