Handbook
Glossary
unparse-set-cookie ( cookie -- string )
Vocabulary
http
Inputs
cookie
an
object
Outputs
string
an
object
Definition
USING:
accessors
kernel
make
sequences
;
IN:
http
:
unparse-set-cookie
( cookie -- string )
[
dup
name>>
check-cookie-string
over
value>>
check-cookie-value
unparse-cookie-value
"path"
over
path>>
unparse-cookie-value
"domain"
over
domain>>
unparse-cookie-value
"expires"
over
expires>>
unparse-cookie-value
"max-age"
over
max-age>>
unparse-cookie-value
"httponly"
over
http-only>>
unparse-cookie-value
"secure"
over
secure>>
unparse-cookie-value
"priority"
over
priority>>
unparse-cookie-value
"samesite"
over
samesite>>
unparse-cookie-value
"sameparty"
over
sameparty>>
unparse-cookie-value
"hostprefix"
over
hostprefix>>
unparse-cookie-value
"domainprefix"
over
domainprefix>>
unparse-cookie-value
drop
]
{
}
make
"; "
join
;