Re: Discouraging the use of HTTP::Cookies

Mark Gardner <[email protected]> Sun, 17 Apr 2016 11:40:43 -0400
Newsgroups gmane.comp.lang.perl.modules.lwp
Message-ID <[email protected]>
--Apple-Mail-F0781F29-5175-492C-92E3-F0026F59281E
Content-Type: text/plain;
	charset=us-ascii
Content-Transfer-Encoding: quoted-printable

Another suggestion: submit PRs to port these CPAN dists to use HTTP::CookieJ=
ar[::LWP] instead of HTTP::Cookies:

https://metacpan.org/requires/distribution/HTTP-Cookies

> On Apr 17, 2016, at 9:32 AM, Tom Hukins <[email protected]> wrote:
>=20
> Hi,
>=20
> In November 2015 I gave a talk at London.pm about managing HTTP cookies
> in Perl.  As a consequence, I sent a documentation patch to the
> HTTP::Cookies module to discourage its use:
> https://github.com/gisle/http-cookies/pull/7
>=20
> My patch includes a test script demonstrating the module's limitations:
> https://github.com/gisle/http-cookies/pull/7/commits/ae00b4ed6aedc1cce72c0=
e8ddf5e7e8fbba417a8
>=20
> Last week at London.pm's Perl Hack Day I published a Perl::Critic
> policy to detect code that uses HTTP::Cookies:
> https://metacpan.org/release/Perl-Critic-Policy-HTTPCookies
>=20
> I want to share this because it looks like my HTTP::Cookies patch won't
> get reviewed or released any time soon.  I'd like to encourage readers
> to consider using HTTP::CookieJar or HTTP::CookieJar::LWP instead.
>=20
> Tom

--Apple-Mail-F0781F29-5175-492C-92E3-F0026F59281E
Content-Type: text/html;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><head><meta http-equiv=3D"content-type" content=3D"text/html; charset=3D=
utf-8"></head><body dir=3D"auto"><div></div><div>Another suggestion: submit P=
Rs to port these CPAN dists to use HTTP::CookieJar[::LWP] instead of HTTP::C=
ookies:</div><div><br></div><div><a href=3D"https://metacpan.org/requires/di=
stribution/HTTP-Cookies?p=3D1&amp;size=3D200&amp;sort=3D%5B%5B2%2C1%5D%5D">h=
ttps://metacpan.org/requires/distribution/HTTP-Cookies</a></div><div><br>On A=
pr 17, 2016, at 9:32 AM, Tom Hukins &lt;<a href=3D"mailto:[email protected]">t=
[email protected]</a>&gt; wrote:<br><br></div><blockquote type=3D"cite"><div><s=
pan>Hi,</span><br><span></span><br><span>In November 2015 I gave a talk at L=
ondon.pm about managing HTTP cookies</span><br><span>in Perl. &nbsp;As a con=
sequence, I sent a documentation patch to the</span><br><span>HTTP::Cookies m=
odule to discourage its use:</span><br><span><a href=3D"https://github.com/g=
isle/http-cookies/pull/7">https://github.com/gisle/http-cookies/pull/7</a></=
span><br><span></span><br><span>My patch includes a test script demonstratin=
g the module's limitations:</span><br><span><a href=3D"https://github.com/gi=
sle/http-cookies/pull/7/commits/ae00b4ed6aedc1cce72c0e8ddf5e7e8fbba417a8">ht=
tps://github.com/gisle/http-cookies/pull/7/commits/ae00b4ed6aedc1cce72c0e8dd=
f5e7e8fbba417a8</a></span><br><span></span><br><span>Last week at London.pm'=
s Perl Hack Day I published a Perl::Critic</span><br><span>policy to detect c=
ode that uses HTTP::Cookies:</span><br><span><a href=3D"https://metacpan.org=
/release/Perl-Critic-Policy-HTTPCookies">https://metacpan.org/release/Perl-C=
ritic-Policy-HTTPCookies</a></span><br><span></span><br><span>I want to shar=
e this because it looks like my HTTP::Cookies patch won't</span><br><span>ge=
t reviewed or released any time soon. &nbsp;I'd like to encourage readers</s=
pan><br><span>to consider using HTTP::CookieJar or HTTP::CookieJar::LWP inst=
ead.</span><br><span></span><br><span>Tom</span><br></div></blockquote></bod=
y></html>=

--Apple-Mail-F0781F29-5175-492C-92E3-F0026F59281E--