All major implementations automatically handle cookies from Set-Cookie response headers.
Cookie handling is automatic in all clients. The # @no-cookie-jar metadata tag is supported by VS Code REST Client, JetBrains, httpyac, and kulala.nvim. VS 2022 does not document this tag.
Implementation details
Section titled “Implementation details”VS Code REST Client: Cookies are remembered for subsequent requests (configurable via
rest-client.rememberCookiesForSubsequentRequests, defaulttrue). Disable per-request with# @no-cookie-jar.JetBrains: Cookies are stored in
http-client.cookies(under.idea/httpRequests/), limited to 300 entries. Disable per-request with// @no-cookie-jar.httpyac: Uses tough-cookie library for in-memory cookie jar. Configurable via
cookieJarEnabledinhttpyac.config.js. Disable per-request with# @no-cookie-jar.kulala.nvim: Cookie jar supported, disable with
# @no-cookie-jar.