develooper Front page | perl.libwww | Postings from April 2016

Discouraging the use of HTTP::Cookies

Thread Next
From:
Tom Hukins
Date:
April 17, 2016 13:32
Subject:
Discouraging the use of HTTP::Cookies
Message ID:
20160417133236.GJ26728@eborcom.com
Hi,

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

My patch includes a test script demonstrating the module's limitations:
https://github.com/gisle/http-cookies/pull/7/commits/ae00b4ed6aedc1cce72c0e8ddf5e7e8fbba417a8

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

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.

Tom

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About