lookup> Set-Cookie

Set-Cookie

standard

响应头RFC6265
NameSet-Cookie
Type响应头
SpecificationRFC6265

standard

Set-Cookie: session=abc123; Path=/; HttpOnly

RFC6265

What does the Set-Cookie header do?

standard

Is Set-Cookie a request or response header?

It is classified as a response header and can appear in requests or responses depending on context.

Related status codes

Related headers