Import upstream version 0.012
Debian Janitor
2 years ago
0 | 0 |
Revision history for HTTP-CookieJar
|
|
1 |
|
|
2 |
0.012 2021-06-16 05:34:31-04:00 America/New_York
|
|
3 |
|
|
4 |
- No changes from 0.011
|
|
5 |
|
|
6 |
0.011 2021-06-15 19:29:51-04:00 America/New_York (TRIAL RELEASE)
|
|
7 |
|
|
8 |
[FIXED]
|
|
9 |
|
|
10 |
- Pushed test cookie expiration dates from 2021 to 2041.
|
|
11 |
If I'm still maintaining this module in 2041, I'll bump
|
|
12 |
them again then.
|
1 | 13 |
|
2 | 14 |
0.010 2020-09-20 11:28:49-04:00 America/New_York
|
3 | 15 |
|
0 | |
# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.015.
|
|
0 |
# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.020.
|
1 | 1 |
CONTRIBUTING.mkdn
|
2 | 2 |
Changes
|
3 | 3 |
LICENSE
|
|
24 | 24 |
tidyall.ini
|
25 | 25 |
xt/author/00-compile.t
|
26 | 26 |
xt/author/critic.t
|
|
27 |
xt/author/distmeta.t
|
27 | 28 |
xt/author/minimum-version.t
|
28 | 29 |
xt/author/pod-coverage.t
|
29 | 30 |
xt/author/pod-spell.t
|
30 | 31 |
xt/author/pod-syntax.t
|
31 | 32 |
xt/author/portability.t
|
32 | 33 |
xt/author/test-version.t
|
33 | |
xt/release/distmeta.t
|
3 | 3 |
"David Golden <dagolden@cpan.org>"
|
4 | 4 |
],
|
5 | 5 |
"dynamic_config" : 0,
|
6 | |
"generated_by" : "Dist::Zilla version 6.015, CPAN::Meta::Converter version 2.150010",
|
|
6 |
"generated_by" : "Dist::Zilla version 6.020, CPAN::Meta::Converter version 2.150010",
|
7 | 7 |
"license" : [
|
8 | 8 |
"apache_2_0"
|
9 | 9 |
],
|
|
89 | 89 |
"provides" : {
|
90 | 90 |
"HTTP::CookieJar" : {
|
91 | 91 |
"file" : "lib/HTTP/CookieJar.pm",
|
92 | |
"version" : "0.010"
|
|
92 |
"version" : "0.012"
|
93 | 93 |
},
|
94 | 94 |
"HTTP::CookieJar::LWP" : {
|
95 | 95 |
"file" : "lib/HTTP/CookieJar/LWP.pm",
|
96 | |
"version" : "0.010"
|
|
96 |
"version" : "0.012"
|
97 | 97 |
}
|
98 | 98 |
},
|
99 | 99 |
"release_status" : "stable",
|
|
108 | 108 |
"web" : "https://github.com/dagolden/HTTP-CookieJar"
|
109 | 109 |
}
|
110 | 110 |
},
|
111 | |
"version" : "0.010",
|
|
111 |
"version" : "0.012",
|
112 | 112 |
"x_authority" : "cpan:DAGOLDEN",
|
113 | 113 |
"x_contributors" : [
|
114 | 114 |
"Dan Book <grinnz@grinnz.com>",
|
115 | 115 |
"David Golden <xdg@xdg.me>",
|
116 | 116 |
"jvolkening <jdv@base2bio.com>"
|
117 | 117 |
],
|
118 | |
"x_generated_by_perl" : "v5.32.0",
|
119 | |
"x_serialization_backend" : "Cpanel::JSON::XS version 4.19",
|
|
118 |
"x_generated_by_perl" : "v5.34.0",
|
|
119 |
"x_serialization_backend" : "Cpanel::JSON::XS version 4.26",
|
120 | 120 |
"x_spdx_expression" : "Apache-2.0"
|
121 | 121 |
}
|
122 | 122 |
|
15 | 15 |
ExtUtils::MakeMaker: '6.17'
|
16 | 16 |
perl: '5.008001'
|
17 | 17 |
dynamic_config: 0
|
18 | |
generated_by: 'Dist::Zilla version 6.015, CPAN::Meta::Converter version 2.150010'
|
|
18 |
generated_by: 'Dist::Zilla version 6.020, CPAN::Meta::Converter version 2.150010'
|
19 | 19 |
license: apache
|
20 | 20 |
meta-spec:
|
21 | 21 |
url: http://module-build.sourceforge.net/META-spec-v1.4.html
|
|
32 | 32 |
provides:
|
33 | 33 |
HTTP::CookieJar:
|
34 | 34 |
file: lib/HTTP/CookieJar.pm
|
35 | |
version: '0.010'
|
|
35 |
version: '0.012'
|
36 | 36 |
HTTP::CookieJar::LWP:
|
37 | 37 |
file: lib/HTTP/CookieJar/LWP.pm
|
38 | |
version: '0.010'
|
|
38 |
version: '0.012'
|
39 | 39 |
recommends:
|
40 | 40 |
Mozilla::PublicSuffix: '0'
|
41 | 41 |
requires:
|
|
50 | 50 |
bugtracker: https://github.com/dagolden/HTTP-CookieJar/issues
|
51 | 51 |
homepage: https://github.com/dagolden/HTTP-CookieJar
|
52 | 52 |
repository: https://github.com/dagolden/HTTP-CookieJar.git
|
53 | |
version: '0.010'
|
|
53 |
version: '0.012'
|
54 | 54 |
x_authority: cpan:DAGOLDEN
|
55 | 55 |
x_contributors:
|
56 | 56 |
- 'Dan Book <grinnz@grinnz.com>'
|
57 | 57 |
- 'David Golden <xdg@xdg.me>'
|
58 | 58 |
- 'jvolkening <jdv@base2bio.com>'
|
59 | |
x_generated_by_perl: v5.32.0
|
|
59 |
x_generated_by_perl: v5.34.0
|
60 | 60 |
x_serialization_backend: 'YAML::Tiny version 1.73'
|
61 | 61 |
x_spdx_expression: Apache-2.0
|
0 | |
# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.015.
|
|
0 |
# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.020.
|
1 | 1 |
use strict;
|
2 | 2 |
use warnings;
|
3 | 3 |
|
|
33 | 33 |
"URI" => 0,
|
34 | 34 |
"lib" => 0
|
35 | 35 |
},
|
36 | |
"VERSION" => "0.010",
|
|
36 |
"VERSION" => "0.012",
|
37 | 37 |
"test" => {
|
38 | 38 |
"TESTS" => "t/*.t"
|
39 | 39 |
}
|
1 | 1 |
HTTP::CookieJar - A minimalist HTTP user agent cookie jar
|
2 | 2 |
|
3 | 3 |
VERSION
|
4 | |
version 0.010
|
|
4 |
version 0.012
|
5 | 5 |
|
6 | 6 |
SYNOPSIS
|
7 | 7 |
use HTTP::CookieJar;
|
|
165 | 165 |
|
166 | 166 |
* Mojo::UserAgent::CookieJar
|
167 | 167 |
|
|
168 |
SUPPORT
|
|
169 |
Bugs / Feature Requests
|
|
170 |
Please report any bugs or feature requests through the issue tracker at
|
|
171 |
<https://github.com/dagolden/HTTP-CookieJar/issues>. You will be
|
|
172 |
notified automatically of any progress on your issue.
|
|
173 |
|
|
174 |
Source Code
|
|
175 |
This is open source software. The code repository is available for
|
|
176 |
public review and contribution under the terms of the license.
|
|
177 |
|
|
178 |
<https://github.com/dagolden/HTTP-CookieJar>
|
|
179 |
|
|
180 |
git clone https://github.com/dagolden/HTTP-CookieJar.git
|
|
181 |
|
168 | 182 |
AUTHOR
|
169 | 183 |
David Golden <dagolden@cpan.org>
|
170 | 184 |
|
0 | |
# This file is generated by Dist::Zilla::Plugin::CPANFile v6.015
|
|
0 |
# This file is generated by Dist::Zilla::Plugin::CPANFile v6.020
|
1 | 1 |
# Do not edit this file directly. To change prereqs, edit the `dist.ini` file.
|
2 | 2 |
|
3 | 3 |
requires "Carp" => "0";
|
3 | 3 |
|
4 | 4 |
package HTTP::CookieJar::LWP;
|
5 | 5 |
# ABSTRACT: LWP adapter for HTTP::CookieJar
|
6 | |
our $VERSION = '0.010';
|
|
6 |
our $VERSION = '0.012';
|
7 | 7 |
|
8 | 8 |
use parent 'HTTP::CookieJar';
|
9 | 9 |
|
|
87 | 87 |
|
88 | 88 |
=head1 VERSION
|
89 | 89 |
|
90 | |
version 0.010
|
|
90 |
version 0.012
|
91 | 91 |
|
92 | 92 |
=head1 SYNOPSIS
|
93 | 93 |
|
3 | 3 |
|
4 | 4 |
package HTTP::CookieJar;
|
5 | 5 |
# ABSTRACT: A minimalist HTTP user agent cookie jar
|
6 | |
our $VERSION = '0.010';
|
|
6 |
our $VERSION = '0.012';
|
7 | 7 |
|
8 | 8 |
use Carp ();
|
9 | 9 |
use HTTP::Date ();
|
|
387 | 387 |
|
388 | 388 |
=head1 VERSION
|
389 | 389 |
|
390 | |
version 0.010
|
|
390 |
version 0.012
|
391 | 391 |
|
392 | 392 |
=head1 SYNOPSIS
|
393 | 393 |
|
|
597 | 597 |
|
598 | 598 |
=back
|
599 | 599 |
|
|
600 |
=for :stopwords cpan testmatrix url bugtracker rt cpants kwalitee diff irc mailto metadata placeholders metacpan
|
|
601 |
|
|
602 |
=head1 SUPPORT
|
|
603 |
|
|
604 |
=head2 Bugs / Feature Requests
|
|
605 |
|
|
606 |
Please report any bugs or feature requests through the issue tracker
|
|
607 |
at L<https://github.com/dagolden/HTTP-CookieJar/issues>.
|
|
608 |
You will be notified automatically of any progress on your issue.
|
|
609 |
|
|
610 |
=head2 Source Code
|
|
611 |
|
|
612 |
This is open source software. The code repository is available for
|
|
613 |
public review and contribution under the terms of the license.
|
|
614 |
|
|
615 |
L<https://github.com/dagolden/HTTP-CookieJar>
|
|
616 |
|
|
617 |
git clone https://github.com/dagolden/HTTP-CookieJar.git
|
|
618 |
|
600 | 619 |
=head1 AUTHOR
|
601 | 620 |
|
602 | 621 |
David Golden <dagolden@cpan.org>
|
37 | 37 |
|
38 | 38 |
subtest "expiration" => sub {
|
39 | 39 |
$jar->clear;
|
40 | |
$jar->add( $req, "lang=en-US; Expires=Wed, 09 Jun 2021 10:18:14 GMT" );
|
|
40 |
$jar->add( $req, "lang=en-US; Expires=Sun, 09 Jun 2041 10:18:14 GMT" );
|
41 | 41 |
is( $jar->cookie_header($req), "lang=en-US" );
|
42 | 42 |
$jar->add( $req, "lang=; Expires=Sun, 06 Nov 1994 08:49:37 GMT" );
|
43 | 43 |
is( $jar->cookie_header($req), "" );
|
82 | 82 |
}
|
83 | 83 |
},
|
84 | 84 |
{
|
85 | |
cookie => "lang=en-US; Expires = Wed, 09 Jun 2021 10:18:14 GMT",
|
|
85 |
cookie => "lang=en-US; Expires = Sun, 09 Jun 2041 10:18:14 GMT",
|
86 | 86 |
parse => {
|
87 | 87 |
name => "lang",
|
88 | 88 |
value => "en-US",
|
89 | |
expires => 1623233894,
|
|
89 |
expires => 2254385894,
|
90 | 90 |
}
|
91 | 91 |
},
|
92 | 92 |
{
|
93 | |
cookie => "lang=en-US; Expires = Wed, 09 Jun 2021 10:18:14 GMT; Max-Age=3600",
|
|
93 |
cookie => "lang=en-US; Expires = Sun, 09 Jun 2041 10:18:14 GMT; Max-Age=3600",
|
94 | 94 |
parse => {
|
95 | 95 |
name => "lang",
|
96 | 96 |
value => "en-US",
|
97 | |
expires => 1623233894,
|
|
97 |
expires => 2254385894,
|
98 | 98 |
'max-age' => 3600,
|
99 | 99 |
}
|
100 | 100 |
},
|
|
0 |
#!perl
|
|
1 |
# This file was automatically generated by Dist::Zilla::Plugin::MetaTests.
|
|
2 |
|
|
3 |
use Test::CPAN::Meta;
|
|
4 |
|
|
5 |
meta_yaml_ok();
|
0 | |
#!perl
|
1 | |
# This file was automatically generated by Dist::Zilla::Plugin::MetaTests.
|
2 | |
|
3 | |
use Test::CPAN::Meta;
|
4 | |
|
5 | |
meta_yaml_ok();
|