Code

Ticket #15594: httponly_doc.patch

File httponly_doc.patch, 649 bytes (added by philwills, 3 years ago)

Patch for documentation of httponly cookie

  • docs/ref/request-response.txt

    diff --git a/docs/ref/request-response.txt b/docs/ref/request-response.txt
    index 9a3321c..eb34f1e 100644
    a b Methods 
    605605          the domains www.lawrence.com, blogs.lawrence.com and 
    606606          calendars.lawrence.com. Otherwise, a cookie will only be readable by 
    607607          the domain that set it. 
    608         * Use ``http_only=True`` if you want to prevent client-side 
     608        * Use ``httponly=True`` if you want to prevent client-side 
    609609          JavaScript from having access to the cookie. 
    610610 
    611611          HTTPOnly_ is a flag included in a Set-Cookie HTTP response