DevKits

Cookies · Request header

Cookie

All cookies stored by the browser for this origin.

What is Cookie?

Cookie is the client-side counterpart of Set-Cookie. Browsers automatically include applicable cookies on requests to matching origins/paths.

Typical usage

Sent automatically by the browser.

Examples

Cookie: session=abc; theme=dark

Also known as

Also commonly written as: cookie header · http cookie header · request cookie · browser cookie header · Cookie ヘッダ. These variants — including plural forms, unhyphenated spellings, and Japanese (ヘッダ) — all refer to the same Cookie HTTP header.

Specification

RFC 6265bis

Frequently asked questions

What is the Cookie HTTP header?

Cookie is the client-side counterpart of Set-Cookie. Browsers automatically include applicable cookies on requests to matching origins/paths.

Is Cookie a request or response header?

Cookie is a request header — the client sends it to the server. Sent automatically by the browser.

What does a Cookie header look like?

A typical Cookie header looks like: Cookie: session=abc; theme=dark.

Related headers

Work with this header