diff --git a/Makefile.PL b/Makefile.PL index 20a0f59..758a093 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -9,7 +9,7 @@ WriteMakefile( AnyEvent => 5, 'Digest::SHA1' => 2, 'JSON::XS' => 3, - 'HTTP::Easy' => 0.02, + 'HTTP::Easy' => 0.04, }, ABSTRACT_FROM => 'lib/AnyEvent/HTTP/Server.pm', # retrieve abstract from module AUTHOR => 'Mons Anderson ', diff --git a/lib/AnyEvent/HTTP/Server.pm b/lib/AnyEvent/HTTP/Server.pm index fd19dc4..c98147a 100644 --- a/lib/AnyEvent/HTTP/Server.pm +++ b/lib/AnyEvent/HTTP/Server.pm @@ -8,7 +8,7 @@ AnyEvent::HTTP::Server - AnyEvent HTTP/1.1 Server our $VERSION; BEGIN{ -$VERSION = '1.99996'; +$VERSION = '1.99997'; } use AnyEvent::HTTP::Server::Kit; diff --git a/lib/AnyEvent/HTTP/Server/Req.pm b/lib/AnyEvent/HTTP/Server/Req.pm index 27b0d22..2555216 100644 --- a/lib/AnyEvent/HTTP/Server/Req.pm +++ b/lib/AnyEvent/HTTP/Server/Req.pm @@ -375,6 +375,7 @@ BEGIN { push @c, "path=" . $p; push @c, "Secure" if $o->{secure}; push @c, "HttpOnly" if $o->{httponly}; + push @c, "SameSite=" . $o->{samesite} if $o->{samesite}; push @bad, "\u\Lset-cookie\E: ". join('; ',@c) .$LF; } }