Merge pull request #5719 from FedericoCeratto/patch-26
Fix "secure" capitalization
This commit is contained in:
commit
12f758cc42
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue