Revision 2b8ec027
Von Sven Schöling vor fast 4 Jahren hinzugefügt
SL/Response.pm | ||
---|---|---|
59 | 59 |
|
60 | 60 |
# handle more than one cookie |
61 | 61 |
my @cookies = (listify(delete $header{cookie}), listify($self->cookie)); |
62 |
push @header, "Set-Cookie: $_" for @cookies; |
|
62 |
push @header, "Set-Cookie: $_" for grep defined, @cookies;
|
|
63 | 63 |
|
64 | 64 |
# content-disposition has some weird syntax from RFC1806 |
65 | 65 |
my $attachment = delete $header{attachment}; |
Auch abrufbar als: Unified diff
CGI aus Abhängigkeiten entfernt und warnings behoben