diff options
author | Federico Ceratto <federico.ceratto@suse.com> | 2017-04-17 12:54:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-17 12:54:23 +0100 |
commit | 407beef7fd1d39058cec9f3626a75348290b7536 (patch) | |
tree | ae47a81265bba90f060d94d906bc87da5cf918d4 /lib | |
parent | 99d20f61126d849ceba8148a5429f5a023f949a3 (diff) | |
download | Nim-407beef7fd1d39058cec9f3626a75348290b7536.tar.gz |
Fix "secure" capitalization
See https://tools.ietf.org/html/rfc6265
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pure/cookies.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/cookies.nim b/lib/pure/cookies.nim index 8090cd49d..ac38c0d8a 100644 --- a/lib/pure/cookies.nim +++ b/lib/pure/cookies.nim @@ -39,7 +39,7 @@ proc setCookie*(key, value: string, domain = "", path = "", if domain != "": result.add("; Domain=" & domain) if path != "": result.add("; Path=" & path) if expires != "": result.add("; Expires=" & expires) - if secure: result.add("; secure") + if secure: result.add("; Secure") if httpOnly: result.add("; HttpOnly") proc setCookie*(key, value: string, expires: TimeInfo, |