Skip to content
This repository was archived by the owner on Sep 27, 2021. It is now read-only.

Update 05-Response.adoc - Add details on base64 encoding for plainCookie #416

Open
wants to merge 1 commit into
base: 4.1
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions 04-Basics/05-Response.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ In that case, may want to set a plain cookie instead:
// not signed or encrypted
response.plainCookie('cartTotal', 20)
----
> Do note, the value is still JSON.stringified and converted to base64 encoded string to avoid encoding issues.

== Redirects
Use one of the following methods to redirect requests to a different URL.
Expand Down