?????????? ????????? - ??????????????? - /home/agenciai/public_html/cd38d8/perl-HTTP-Cookies.zip
???????
PK Դ�[���X X CONTRIBUTORSnu �[��� # HTTP-COOKIES CONTRIBUTORS # This is the (likely incomplete) list of people who have helped make this distribution what it is, either via code contributions, patches, bug reports, help with troubleshooting, etc. A huge 'thank you' to all of them. * Adam Kennedy * Adam Sjogren * Alexey Tourbin * Alex Kapranoff * Alex Peters * Alex Peters * amire80 * Andreas J. Koenig * Bernhard M. Wiedemann * Bill Mann * Bron Gondwana * Charlie Hothersall-Thomas * Chase Whitener * Colin Newell * Colin Newell * Daniel Hedlund * Dave Menninger * David E. Wheeler * DAVIDRW * Father Chrysostomos * FWILES * Gavin Peters * George Grozdev * Graeme Thompson * Hans-H. Froehlich * Ian Kilgore * Jacob J * James McCoy * James Raspass * jefflee * john9art * Mark Raymond * Mark Stosberg * Mike Schilli * Mohammad S Anwar * murphy * Olaf Alders * Ondrej Hanak * Perlover * Peter Rabbitson * Philip J. Ludlam * phrstbrn * Robert Stone * robnagler * Rolf Grossmann * ruff * sasao * Sean M. Burke * simbabque * Slaven Rezic * Spiros Denaxas * Steve Hay * Todd Lipcon * Tom Hukins * Tony Finch * Toru Yamaguchi * Ville Skyttä * Yuri Karaban * Zefram PK Դ�[��� � Changesnu �[��� Revision history for HTTP-Cookies. The HTTP::Cookies module used to be bundled with the libwww-perl distribution. 6.10 2021-01-04 22:03:43Z - Do not set discard if max-age is set (GH#61) (robnagler, simbabque) - Add tests for #61 - do not set discard if max-age is set (GH#65) (Julien Fiegehenn) 6.09 2020-11-19 22:20:47Z - Allow HttpOnly cookies to be loaded by HTTP::Cookies::Netscape (GH#63) (Charlie Hothersall-Thomas) 6.08 2019-12-02 15:58:32Z - allow different "ignore_discard" value at save() time (GH#2) (Alex Peters) 6.07 2019-11-15 18:11:42Z - Fix t/issue32.t on old perl versions (GH#59) (Bernhard M. Wiedemann) 6.06 2019-11-12 14:28:31Z - Make test pass in 2025 (GH#56) (Bernhard M. Wiedemann) 6.05 2019-10-24 02:21:51Z - Fix GH#32 by checking for " as well as ; when splitting. (GH#49) (colinnewell) - Fix GH#48 update documentation about $version (GH#55) (Dave Menninger) - Fix broken README badge (GH#54) (Alex Peters) - Whenever possible, use an absolute four digit year for Time::Local (GH#52) (Olaf Alders) - Add test case for Issue #26 (GH#45) (George-NG) - Long numbers (GH#47) (pludlamCVL) - Cookies.pm: die if close on $fh in ->save fails (GH#46) (MCRayRay) - Replace "use vars" with "our" (GH#43) (James Raspass) - Fixed minor typo in the pod for HTTP::Cookies. (GH#39) (Mohammad S Anwar) 6.04 2017-08-03 15:05:22Z - Fix package version numbers 6.03 2017-04-03 11:35:35-04:00 America/Toronto - No changes since TRIAL release 6.02 6.02 2017-01-12 18:02:49-05:00 America/Toronto (TRIAL RELEASE) - Document the lack of Public Suffix https://publicsuffix.org/ support - Add TODO tests for lack of Public Suffix support - Improve "maxage" documentation - Update the GitHub repository location - Use GitHub Issues instead of RT - Stop using bareword filehandles - Various internal distribution management and testing changes - Add get_cookies() method 6.01 2012-02-15 - Restore 5.8.1 compatiblity. 6.00 2011-02-27 - Initial release of HTTP-Cookies as a separate distribution. There are no code changes besides incrementing the version number since libwww-perl-5.837. PK Դ�[��K�� � README.mdnu �[��� # NAME HTTP::Cookies - HTTP cookie jars # VERSION version 6.10 # SYNOPSIS use HTTP::Cookies; $cookie_jar = HTTP::Cookies->new( file => "$ENV{'HOME'}/lwp_cookies.dat", autosave => 1, ); use LWP; my $browser = LWP::UserAgent->new; $browser->cookie_jar($cookie_jar); Or for an empty and temporary cookie jar: use LWP; my $browser = LWP::UserAgent->new; $browser->cookie_jar( {} ); # DESCRIPTION This class is for objects that represent a "cookie jar" -- that is, a database of all the HTTP cookies that a given LWP::UserAgent object knows about. Cookies are a general mechanism which server side connections can use to both store and retrieve information on the client side of the connection. For more information about cookies refer to [Cookie Spec](http://curl.haxx.se/rfc/cookie_spec.html) and [Cookie Central](http://www.cookiecentral.com). This module also implements the new style cookies described in [RFC 2965](https://tools.ietf.org/html/rfc2965). The two variants of cookies are supposed to be able to coexist happily. Instances of the class _HTTP::Cookies_ are able to store a collection of Set-Cookie2: and Set-Cookie: headers and are able to use this information to initialize Cookie-headers in _HTTP::Request_ objects. The state of a _HTTP::Cookies_ object can be saved in and restored from files. # LIMITATIONS This module does not support [Public Suffix](https://publicsuffix.org/) encouraged by a more recent standard, [RFC 6265](https://tools.ietf.org/html/rfc6265). This module's shortcomings mean that a malicious Web site can set cookies to track your user agent across all sites under a top level domain. See `t/publicsuffix.t` in this module's distribution for details. [HTTP::CookieJar::LWP](https://metacpan.org/pod/HTTP%3A%3ACookieJar%3A%3ALWP) supports Public Suffix, but only provides a limited subset of this module's functionality and [does not support](https://metacpan.org/pod/HTTP%3A%3ACookieJar#LIMITATIONS-AND-CAVEATS) standards older than _RFC 6265_. # METHODS The following methods are provided: - $cookie\_jar = HTTP::Cookies->new The constructor takes hash style parameters. The following parameters are recognized: file: name of the file to restore cookies from and save cookies to autosave: save during destruction (bool) ignore_discard: save even cookies that are requested to be discarded (bool) hide_cookie2: do not add Cookie2 header to requests Future parameters might include (not yet implemented): max_cookies 300 max_cookies_per_domain 20 max_cookie_size 4096 no_cookies list of domain names that we never return cookies to - $cookie\_jar->get\_cookies( $url\_or\_domain ) - $cookie\_jar->get\_cookies( $url\_or\_domain, $cookie\_key,... ) Returns a hash of the cookies that applies to the given URL. If a domainname is given as argument, then a prefix of "https://" is assumed. If one or more $cookie\_key parameters are provided return the given values, or `undef` if the cookie isn't available. - $cookie\_jar->add\_cookie\_header( $request ) The add\_cookie\_header() method will set the appropriate Cookie:-header for the _HTTP::Request_ object given as argument. The $request must have a valid url attribute before this method is called. - $cookie\_jar->extract\_cookies( $response ) The extract\_cookies() method will look for Set-Cookie: and Set-Cookie2: headers in the _HTTP::Response_ object passed as argument. Any of these headers that are found are used to update the state of the $cookie\_jar. - $cookie\_jar->set\_cookie( $version, $key, $val, $path, $domain, $port, $path\_spec, $secure, $maxage, $discard, \\%rest ) The set\_cookie() method updates the state of the $cookie\_jar. The $key, $val, $domain, $port and $path arguments are strings. The $path\_spec, $secure, $discard arguments are boolean values. The $maxage value is a number indicating number of seconds that this cookie will live. A value of $maxage <= 0 will delete this cookie. The $version argument sets the version of the cookie; the default value is 0 ( original Netscape spec ). Setting $version to another value indicates the RFC to which the cookie conforms (e.g. version 1 for RFC 2109). %rest defines various other attributes like "Comment" and "CommentURL". - $cookie\_jar->save - $cookie\_jar->save( $file ) - $cookie\_jar->save( file => $file, ignore\_discard => $ignore\_discard ) This method file saves the state of the $cookie\_jar to a file. The state can then be restored later using the load() method. If a filename is not specified we will use the name specified during construction. If the $ignore\_discard value is true (or not specified, but attribute _ignore\_discard_ was set at cookie jar construction), then we will even save cookies that are marked to be discarded. The default is to save a sequence of "Set-Cookie3" lines. "Set-Cookie3" is a proprietary LWP format, not known to be compatible with any browser. The _HTTP::Cookies::Netscape_ sub-class can be used to save in a format compatible with Netscape. - $cookie\_jar->load - $cookie\_jar->load( $file ) This method reads the cookies from the file and adds them to the $cookie\_jar. The file must be in the format written by the save() method. - $cookie\_jar->revert This method empties the $cookie\_jar and re-loads the $cookie\_jar from the last save file. - $cookie\_jar->clear - $cookie\_jar->clear( $domain ) - $cookie\_jar->clear( $domain, $path ) - $cookie\_jar->clear( $domain, $path, $key ) Invoking this method without arguments will empty the whole $cookie\_jar. If given a single argument only cookies belonging to that domain will be removed. If given two arguments, cookies belonging to the specified path within that domain are removed. If given three arguments, then the cookie with the specified key, path and domain is removed. - $cookie\_jar->clear\_temporary\_cookies Discard all temporary cookies. Scans for all cookies in the jar with either no expire field or a true `discard` flag. To be called when the user agent shuts down according to RFC 2965. - $cookie\_jar->scan( \\&callback ) The argument is a subroutine that will be invoked for each cookie stored in the $cookie\_jar. The subroutine will be invoked with the following arguments: 0 version 1 key 2 val 3 path 4 domain 5 port 6 path_spec 7 secure 8 expires 9 discard 10 hash - $cookie\_jar->as\_string - $cookie\_jar->as\_string( $skip\_discardables ) The as\_string() method will return the state of the $cookie\_jar represented as a sequence of "Set-Cookie3" header lines separated by "\\n". If $skip\_discardables is TRUE, it will not return lines for cookies with the _Discard_ attribute. # SEE ALSO [HTTP::Cookies::Netscape](https://metacpan.org/pod/HTTP%3A%3ACookies%3A%3ANetscape), [HTTP::Cookies::Microsoft](https://metacpan.org/pod/HTTP%3A%3ACookies%3A%3AMicrosoft) # AUTHOR Gisle Aas <gisle@activestate.com> # COPYRIGHT AND LICENSE 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. PK Դ�[���X X CONTRIBUTORSnu �[��� PK Դ�[��� � � Changesnu �[��� PK Դ�[��K�� � � README.mdnu �[��� PK � �,
| ver. 1.6 |
Github
|
.
| PHP 8.2.30 | ??????????? ?????????: 0 |
proxy
|
phpinfo
|
???????????