From 5b8c4f55e7a2bae48d1abba3c403959791da3436 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Tue, 28 Jun 2016 18:16:34 -0700 Subject: [PATCH] Update key to be httpOnly instead of session --- docs/api/session.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api/session.md b/docs/api/session.md index b6026c3..78b001f 100644 --- a/docs/api/session.md +++ b/docs/api/session.md @@ -377,8 +377,8 @@ with `callback(error, cookies)` on complete. * `path` String - The path of the cookie. Empty by default if omitted. * `secure` Boolean - Whether the cookie should be marked as Secure. Defaults to false. - * `session` Boolean - Whether the cookie should be marked as HTTP only. Defaults - to false. + * `httpOnly` Boolean - Whether the cookie should be marked as HTTP only. + Defaults to false. * `expirationDate` Double - The expiration date of the cookie as the number of seconds since the UNIX epoch. If omitted then the cookie becomes a session cookie and will not be retained between sessions. -- 2.7.4