C::Engine - added support for HTTPOnly flag on cookies (this is necessary before...
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Engine.pm
index 2ca6a39..c516409 100644 (file)
@@ -85,7 +85,8 @@ sub finalize_cookies {
                 -expires => $val->{expires},
                 -domain  => $val->{domain},
                 -path    => $val->{path},
-                -secure  => $val->{secure} || 0
+                -secure  => $val->{secure} || 0,
+                -httponly => $val->{httponly} || 0,
             )
         );