[Catalyst-commits] r10404 - Catalyst-Runtime/5.80/trunk/lib/Catalyst
kmx at dev.catalyst.perl.org
kmx at dev.catalyst.perl.org
Sun May 31 19:53:25 GMT 2009
Author: kmx
Date: 2009-05-31 19:53:25 +0000 (Sun, 31 May 2009)
New Revision: 10404
Modified:
Catalyst-Runtime/5.80/trunk/lib/Catalyst/Engine.pm
Catalyst-Runtime/5.80/trunk/lib/Catalyst/Response.pm
Log:
C::Engine - added support for HTTPOnly flag on cookies (this is necessary before adding httponly flag support to C::P::Session::State::Cookie)
Modified: Catalyst-Runtime/5.80/trunk/lib/Catalyst/Engine.pm
===================================================================
--- Catalyst-Runtime/5.80/trunk/lib/Catalyst/Engine.pm 2009-05-31 12:29:51 UTC (rev 10403)
+++ Catalyst-Runtime/5.80/trunk/lib/Catalyst/Engine.pm 2009-05-31 19:53:25 UTC (rev 10404)
@@ -85,7 +85,8 @@
-expires => $val->{expires},
-domain => $val->{domain},
-path => $val->{path},
- -secure => $val->{secure} || 0
+ -secure => $val->{secure} || 0,
+ -httponly => $val->{httponly} || 0,
)
);
Modified: Catalyst-Runtime/5.80/trunk/lib/Catalyst/Response.pm
===================================================================
--- Catalyst-Runtime/5.80/trunk/lib/Catalyst/Response.pm 2009-05-31 12:29:51 UTC (rev 10403)
+++ Catalyst-Runtime/5.80/trunk/lib/Catalyst/Response.pm 2009-05-31 19:53:25 UTC (rev 10404)
@@ -115,6 +115,8 @@
=item secure
+=item httponly
+
=back
=head2 $res->header
More information about the Catalyst-commits
mailing list