HTTP::C...Netscape(3)

🌸 NAME 🌸

okay so bestie, this is HTTP::Cookies::Netscape β€” the little Perl module that gives you access to Netscape cookies files. It’s the manual page HTTP::Cookies::Netscape(3), and yes it’s iconic for exactly that. πŸ’…

✨ VERSION ✨

version 6.11 β€” noted, saved, slayed. πŸŽ€

πŸ¦‹ SYNOPSIS πŸ¦‹

like, here’s the whole vibe in code, no cap:

use LWP;
use HTTP::Cookies::Netscape;
$cookie_jar = HTTP::Cookies::Netscape->new(
  file => "c:/program files/netscape/users/ZombieCharity/cookies.txt",
);
my $browser = LWP::UserAgent->new;
$browser->cookie_jar( $cookie_jar );

That’s it. That’s the group chat. 🫢

πŸ’– DESCRIPTION πŸ’–

This is a subclass of HTTP::Cookies that reads (and optionally writes) Netscape/Mozilla cookie files. Obsessed.

See the documentation for HTTP::Cookies. periodt. ✨

πŸ™ˆ CAVEATS πŸ™ˆ

Please note that the Netscape/Mozilla cookie file format can’t store all the information available in the Set-Cookie2 headers, so you will probably lose some information if you save in this format. 😭 That’s a real one, bestie β€” not me being dramatic.

At time of writing, this module seems to work fine with Mozilla Phoenix/Firebird. πŸ”₯

πŸ‘‘ SEE ALSO πŸ‘‘

  • HTTP::Cookies::Microsoft β€” go look, iykyk. πŸ‘€

πŸ’œ AUTHOR πŸ’œ

Gisle Aas <gisle@activestate.com> β€” author royalty. ✨

This software is copyright (c) 2002 by Gisle Aas.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.


okay that’s the whole page, bestie. signing off with perl v5.42.0, dated 2024-03-08 πŸŽ€πŸ’–πŸ¦‹

πŸ“¦ where this page comes from