New upstream version 6.22
gregor herrmann
2 years ago
54 | 54 | * murphy |
55 | 55 | * Olaf Alders |
56 | 56 | * Ondrej Hanak |
57 | * Paul Cochrane | |
57 | 58 | * Peter Rabbitson |
58 | 59 | * phrstbrn |
59 | 60 | * Robert Stone |
0 | 0 | Release history for Net-HTTP |
1 | ||
2 | 6.22 2022-01-21 20:41:21Z | |
3 | - Format method bullet points as code in docs (GH#77) (Paul Cochrane) | |
4 | - Ignore automatically generated directories (GH#76) (Paul Cochrane) | |
5 | - Use copyright start year rather than range (issue raised by Paul | |
6 | Cochrane) | |
1 | 7 | |
2 | 8 | 6.21 2021-03-18 21:56:42Z |
3 | 9 | - Accept PeerAddr of 0. (GH#72) (trwyant) |
20 | 20 | |
21 | 21 | ## Manual installation |
22 | 22 | |
23 | As a last resort, you can manually install it. Download the tarball, untar it, | |
24 | install configure prerequisites (see below), then build it: | |
23 | As a last resort, you can manually install it. If you have not already | |
24 | downloaded the release tarball, you can find the download link on the module's | |
25 | MetaCPAN page: https://metacpan.org/pod/Net::HTTP | |
26 | ||
27 | Untar the tarball, install configure prerequisites (see below), then build it: | |
25 | 28 | |
26 | 29 | % perl Makefile.PL |
27 | 30 | % make && make test |
0 | This software is copyright (c) 2001-2017 by Gisle Aas. | |
0 | This software is copyright (c) 2001 by Gisle Aas. | |
1 | 1 | |
2 | 2 | This is free software; you can redistribute it and/or modify it under |
3 | 3 | the same terms as the Perl 5 programming language system itself. |
11 | 11 | |
12 | 12 | --- The GNU General Public License, Version 1, February 1989 --- |
13 | 13 | |
14 | This software is Copyright (c) 2001-2017 by Gisle Aas. | |
14 | This software is Copyright (c) 2001 by Gisle Aas. | |
15 | 15 | |
16 | 16 | This is free software, licensed under: |
17 | 17 | |
271 | 271 | |
272 | 272 | --- The Artistic License 1.0 --- |
273 | 273 | |
274 | This software is Copyright (c) 2001-2017 by Gisle Aas. | |
274 | This software is Copyright (c) 2001 by Gisle Aas. | |
275 | 275 | |
276 | 276 | This is free software, licensed under: |
277 | 277 | |
291 | 291 | |
292 | 292 | - "Package" refers to the collection of files distributed by the Copyright |
293 | 293 | Holder, and derivatives of that collection of files created through |
294 | textual modification. | |
294 | textual modification. | |
295 | 295 | - "Standard Version" refers to such a Package if it has not been modified, |
296 | 296 | or has been modified in accordance with the wishes of the Copyright |
297 | Holder. | |
297 | Holder. | |
298 | 298 | - "Copyright Holder" is whoever is named in the copyright or copyrights for |
299 | the package. | |
299 | the package. | |
300 | 300 | - "You" is you, if you're thinking about copying or distributing this Package. |
301 | 301 | - "Reasonable copying fee" is whatever you can justify on the basis of media |
302 | 302 | cost, duplication charges, time of people involved, and so on. (You will |
303 | 303 | not be required to justify it to the Copyright Holder, but only to the |
304 | computing community at large as a market that must bear the fee.) | |
304 | computing community at large as a market that must bear the fee.) | |
305 | 305 | - "Freely Available" means that no fee is charged for the item itself, though |
306 | 306 | there may be fees involved in handling the item. It also means that |
307 | 307 | recipients of the item may redistribute it under the same conditions they |
308 | received it. | |
308 | received it. | |
309 | 309 | |
310 | 310 | 1. You may make and give away verbatim copies of the source form of the |
311 | 311 | Standard Version of this Package without restriction, provided that you |
372 | 372 | |
373 | 373 | 9. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED |
374 | 374 | WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF |
375 | MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. | |
375 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | |
376 | 376 | |
377 | 377 | The End |
378 | 378 |
0 | # This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.017. | |
0 | # This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.024. | |
1 | 1 | CONTRIBUTORS |
2 | 2 | Changes |
3 | 3 | INSTALL |
3 | 3 | "Gisle Aas <gisle@activestate.com>" |
4 | 4 | ], |
5 | 5 | "dynamic_config" : 0, |
6 | "generated_by" : "Dist::Zilla version 6.017, CPAN::Meta::Converter version 2.150010", | |
6 | "generated_by" : "Dist::Zilla version 6.024, CPAN::Meta::Converter version 2.150010", | |
7 | 7 | "license" : [ |
8 | 8 | "perl_5" |
9 | 9 | ], |
88 | 88 | "x_IRC" : "irc://irc.perl.org/#lwp", |
89 | 89 | "x_MailingList" : "mailto:libwww@perl.org" |
90 | 90 | }, |
91 | "version" : "6.21", | |
91 | "version" : "6.22", | |
92 | 92 | "x_Dist_Zilla" : { |
93 | 93 | "perl" : { |
94 | 94 | "version" : "5.030002" |
97 | 97 | { |
98 | 98 | "class" : "Dist::Zilla::Plugin::MetaResources", |
99 | 99 | "name" : "MetaResources", |
100 | "version" : "6.017" | |
100 | "version" : "6.024" | |
101 | 101 | }, |
102 | 102 | { |
103 | 103 | "class" : "Dist::Zilla::Plugin::Prereqs", |
108 | 108 | } |
109 | 109 | }, |
110 | 110 | "name" : "Prereqs", |
111 | "version" : "6.017" | |
111 | "version" : "6.024" | |
112 | 112 | }, |
113 | 113 | { |
114 | 114 | "class" : "Dist::Zilla::Plugin::PromptIfStale", |
151 | 151 | "class" : "Dist::Zilla::Plugin::MakeMaker", |
152 | 152 | "config" : { |
153 | 153 | "Dist::Zilla::Role::TestRunner" : { |
154 | "default_jobs" : "4" | |
154 | "default_jobs" : "1" | |
155 | 155 | } |
156 | 156 | }, |
157 | 157 | "name" : "@Author::OALDERS/MakeMaker", |
158 | "version" : "6.017" | |
158 | "version" : "6.024" | |
159 | 159 | }, |
160 | 160 | { |
161 | 161 | "class" : "Dist::Zilla::Plugin::CPANFile", |
162 | 162 | "name" : "@Author::OALDERS/CPANFile", |
163 | "version" : "6.017" | |
163 | "version" : "6.024" | |
164 | 164 | }, |
165 | 165 | { |
166 | 166 | "class" : "Dist::Zilla::Plugin::ContributorsFile", |
170 | 170 | { |
171 | 171 | "class" : "Dist::Zilla::Plugin::MetaJSON", |
172 | 172 | "name" : "@Author::OALDERS/MetaJSON", |
173 | "version" : "6.017" | |
173 | "version" : "6.024" | |
174 | 174 | }, |
175 | 175 | { |
176 | 176 | "class" : "Dist::Zilla::Plugin::MetaYAML", |
177 | 177 | "name" : "@Author::OALDERS/MetaYAML", |
178 | "version" : "6.017" | |
178 | "version" : "6.024" | |
179 | 179 | }, |
180 | 180 | { |
181 | 181 | "class" : "Dist::Zilla::Plugin::Manifest", |
182 | 182 | "name" : "@Author::OALDERS/Manifest", |
183 | "version" : "6.017" | |
183 | "version" : "6.024" | |
184 | 184 | }, |
185 | 185 | { |
186 | 186 | "class" : "Dist::Zilla::Plugin::MetaNoIndex", |
187 | 187 | "name" : "@Author::OALDERS/MetaNoIndex", |
188 | "version" : "6.017" | |
188 | "version" : "6.024" | |
189 | 189 | }, |
190 | 190 | { |
191 | 191 | "class" : "Dist::Zilla::Plugin::MetaConfig", |
192 | 192 | "name" : "@Author::OALDERS/MetaConfig", |
193 | "version" : "6.017" | |
193 | "version" : "6.024" | |
194 | 194 | }, |
195 | 195 | { |
196 | 196 | "class" : "Dist::Zilla::Plugin::MetaResources", |
197 | 197 | "name" : "@Author::OALDERS/MetaResources", |
198 | "version" : "6.017" | |
198 | "version" : "6.024" | |
199 | 199 | }, |
200 | 200 | { |
201 | 201 | "class" : "Dist::Zilla::Plugin::License", |
202 | 202 | "name" : "@Author::OALDERS/License", |
203 | "version" : "6.017" | |
203 | "version" : "6.024" | |
204 | 204 | }, |
205 | 205 | { |
206 | 206 | "class" : "Dist::Zilla::Plugin::InstallGuide", |
211 | 211 | } |
212 | 212 | }, |
213 | 213 | "name" : "@Author::OALDERS/InstallGuide", |
214 | "version" : "1.200013" | |
214 | "version" : "1.200014" | |
215 | 215 | }, |
216 | 216 | { |
217 | 217 | "class" : "Dist::Zilla::Plugin::ExecDir", |
218 | 218 | "name" : "@Author::OALDERS/ExecDir", |
219 | "version" : "6.017" | |
219 | "version" : "6.024" | |
220 | 220 | }, |
221 | 221 | { |
222 | 222 | "class" : "Dist::Zilla::Plugin::MojibakeTests", |
226 | 226 | { |
227 | 227 | "class" : "Dist::Zilla::Plugin::PodSyntaxTests", |
228 | 228 | "name" : "@Author::OALDERS/PodSyntaxTests", |
229 | "version" : "6.017" | |
229 | "version" : "6.024" | |
230 | 230 | }, |
231 | 231 | { |
232 | 232 | "class" : "Dist::Zilla::Plugin::Test::EOL", |
257 | 257 | { |
258 | 258 | "class" : "Dist::Zilla::Plugin::TestRelease", |
259 | 259 | "name" : "@Author::OALDERS/TestRelease", |
260 | "version" : "6.017" | |
260 | "version" : "6.024" | |
261 | 261 | }, |
262 | 262 | { |
263 | 263 | "class" : "Dist::Zilla::Plugin::Test::ReportPrereqs", |
273 | 273 | "class" : "Dist::Zilla::Plugin::RunExtraTests", |
274 | 274 | "config" : { |
275 | 275 | "Dist::Zilla::Role::TestRunner" : { |
276 | "default_jobs" : "4" | |
276 | "default_jobs" : "1" | |
277 | 277 | } |
278 | 278 | }, |
279 | 279 | "name" : "@Author::OALDERS/RunExtraTests", |
372 | 372 | } |
373 | 373 | }, |
374 | 374 | "name" : "@Author::OALDERS/PodWeaver", |
375 | "version" : "4.008" | |
375 | "version" : "4.009" | |
376 | 376 | }, |
377 | 377 | { |
378 | 378 | "class" : "Dist::Zilla::Plugin::PruneCruft", |
379 | 379 | "name" : "@Author::OALDERS/PruneCruft", |
380 | "version" : "6.017" | |
380 | "version" : "6.024" | |
381 | 381 | }, |
382 | 382 | { |
383 | 383 | "class" : "Dist::Zilla::Plugin::CopyFilesFromBuild", |
413 | 413 | } |
414 | 414 | }, |
415 | 415 | "name" : "@Author::OALDERS/Git::GatherDir", |
416 | "version" : "2.047" | |
416 | "version" : "2.048" | |
417 | 417 | }, |
418 | 418 | { |
419 | 419 | "class" : "Dist::Zilla::Plugin::CopyFilesFromRelease", |
449 | 449 | "changelog" : "Changes" |
450 | 450 | }, |
451 | 451 | "Dist::Zilla::Role::Git::Repo" : { |
452 | "git_version" : "2.30.1", | |
452 | "git_version" : "2.34.1", | |
453 | 453 | "repo_root" : "." |
454 | 454 | } |
455 | 455 | }, |
456 | 456 | "name" : "@Author::OALDERS/Git::Check", |
457 | "version" : "2.047" | |
457 | "version" : "2.048" | |
458 | 458 | }, |
459 | 459 | { |
460 | 460 | "class" : "Dist::Zilla::Plugin::Git::Contributors", |
461 | 461 | "config" : { |
462 | 462 | "Dist::Zilla::Plugin::Git::Contributors" : { |
463 | "git_version" : "2.30.1", | |
463 | "git_version" : "2.34.1", | |
464 | 464 | "include_authors" : 0, |
465 | 465 | "include_releaser" : 1, |
466 | 466 | "order_by" : "name", |
483 | 483 | { |
484 | 484 | "class" : "Dist::Zilla::Plugin::ShareDir", |
485 | 485 | "name" : "@Author::OALDERS/ShareDir", |
486 | "version" : "6.017" | |
486 | "version" : "6.024" | |
487 | 487 | }, |
488 | 488 | { |
489 | 489 | "class" : "Dist::Zilla::Plugin::CheckIssues", |
493 | 493 | { |
494 | 494 | "class" : "Dist::Zilla::Plugin::ConfirmRelease", |
495 | 495 | "name" : "@Author::OALDERS/ConfirmRelease", |
496 | "version" : "6.017" | |
496 | "version" : "6.024" | |
497 | 497 | }, |
498 | 498 | { |
499 | 499 | "class" : "Dist::Zilla::Plugin::UploadToCPAN", |
500 | 500 | "name" : "@Author::OALDERS/UploadToCPAN", |
501 | "version" : "6.017" | |
501 | "version" : "6.024" | |
502 | 502 | }, |
503 | 503 | { |
504 | 504 | "class" : "Dist::Zilla::Plugin::RewriteVersion::Transitional", |
558 | 558 | "changelog" : "Changes" |
559 | 559 | }, |
560 | 560 | "Dist::Zilla::Role::Git::Repo" : { |
561 | "git_version" : "2.30.1", | |
561 | "git_version" : "2.34.1", | |
562 | 562 | "repo_root" : "." |
563 | 563 | }, |
564 | 564 | "Dist::Zilla::Role::Git::StringFormatter" : { |
566 | 566 | } |
567 | 567 | }, |
568 | 568 | "name" : "@Author::OALDERS/@Git::VersionManager/release snapshot", |
569 | "version" : "2.047" | |
569 | "version" : "2.048" | |
570 | 570 | }, |
571 | 571 | { |
572 | 572 | "class" : "Dist::Zilla::Plugin::Git::Tag", |
575 | 575 | "branch" : null, |
576 | 576 | "changelog" : "Changes", |
577 | 577 | "signed" : 0, |
578 | "tag" : "v6.21", | |
578 | "tag" : "v6.22", | |
579 | 579 | "tag_format" : "v%V", |
580 | 580 | "tag_message" : "v%V" |
581 | 581 | }, |
582 | 582 | "Dist::Zilla::Role::Git::Repo" : { |
583 | "git_version" : "2.30.1", | |
583 | "git_version" : "2.34.1", | |
584 | 584 | "repo_root" : "." |
585 | 585 | }, |
586 | 586 | "Dist::Zilla::Role::Git::StringFormatter" : { |
588 | 588 | } |
589 | 589 | }, |
590 | 590 | "name" : "@Author::OALDERS/@Git::VersionManager/Git::Tag", |
591 | "version" : "2.047" | |
591 | "version" : "2.048" | |
592 | 592 | }, |
593 | 593 | { |
594 | 594 | "class" : "Dist::Zilla::Plugin::BumpVersionAfterRelease::Transitional", |
609 | 609 | { |
610 | 610 | "class" : "Dist::Zilla::Plugin::NextRelease", |
611 | 611 | "name" : "@Author::OALDERS/@Git::VersionManager/NextRelease", |
612 | "version" : "6.017" | |
612 | "version" : "6.024" | |
613 | 613 | }, |
614 | 614 | { |
615 | 615 | "class" : "Dist::Zilla::Plugin::Git::Commit", |
631 | 631 | "changelog" : "Changes" |
632 | 632 | }, |
633 | 633 | "Dist::Zilla::Role::Git::Repo" : { |
634 | "git_version" : "2.30.1", | |
634 | "git_version" : "2.34.1", | |
635 | 635 | "repo_root" : "." |
636 | 636 | }, |
637 | 637 | "Dist::Zilla::Role::Git::StringFormatter" : { |
639 | 639 | } |
640 | 640 | }, |
641 | 641 | "name" : "@Author::OALDERS/@Git::VersionManager/post-release commit", |
642 | "version" : "2.047" | |
642 | "version" : "2.048" | |
643 | 643 | }, |
644 | 644 | { |
645 | 645 | "class" : "Dist::Zilla::Plugin::Git::Push", |
651 | 651 | "remotes_must_exist" : 1 |
652 | 652 | }, |
653 | 653 | "Dist::Zilla::Role::Git::Repo" : { |
654 | "git_version" : "2.30.1", | |
654 | "git_version" : "2.34.1", | |
655 | 655 | "repo_root" : "." |
656 | 656 | } |
657 | 657 | }, |
658 | 658 | "name" : "@Author::OALDERS/Git::Push", |
659 | "version" : "2.047" | |
659 | "version" : "2.048" | |
660 | 660 | }, |
661 | 661 | { |
662 | 662 | "class" : "Dist::Zilla::Plugin::Test::Pod::Coverage::Configurable", |
666 | 666 | { |
667 | 667 | "class" : "Dist::Zilla::Plugin::AutoPrereqs", |
668 | 668 | "name" : "AutoPrereqs", |
669 | "version" : "6.017" | |
669 | "version" : "6.024" | |
670 | 670 | }, |
671 | 671 | { |
672 | 672 | "class" : "Dist::Zilla::Plugin::Prereqs", |
677 | 677 | } |
678 | 678 | }, |
679 | 679 | "name" : "RuntimeSuggests", |
680 | "version" : "6.017" | |
680 | "version" : "6.024" | |
681 | 681 | }, |
682 | 682 | { |
683 | 683 | "class" : "Dist::Zilla::Plugin::Prereqs::Soften", |
712 | 712 | { |
713 | 713 | "class" : "Dist::Zilla::Plugin::FinderCode", |
714 | 714 | "name" : ":InstallModules", |
715 | "version" : "6.017" | |
715 | "version" : "6.024" | |
716 | 716 | }, |
717 | 717 | { |
718 | 718 | "class" : "Dist::Zilla::Plugin::FinderCode", |
719 | 719 | "name" : ":IncModules", |
720 | "version" : "6.017" | |
720 | "version" : "6.024" | |
721 | 721 | }, |
722 | 722 | { |
723 | 723 | "class" : "Dist::Zilla::Plugin::FinderCode", |
724 | 724 | "name" : ":TestFiles", |
725 | "version" : "6.017" | |
725 | "version" : "6.024" | |
726 | 726 | }, |
727 | 727 | { |
728 | 728 | "class" : "Dist::Zilla::Plugin::FinderCode", |
729 | 729 | "name" : ":ExtraTestFiles", |
730 | "version" : "6.017" | |
730 | "version" : "6.024" | |
731 | 731 | }, |
732 | 732 | { |
733 | 733 | "class" : "Dist::Zilla::Plugin::FinderCode", |
734 | 734 | "name" : ":ExecFiles", |
735 | "version" : "6.017" | |
735 | "version" : "6.024" | |
736 | 736 | }, |
737 | 737 | { |
738 | 738 | "class" : "Dist::Zilla::Plugin::FinderCode", |
739 | 739 | "name" : ":PerlExecFiles", |
740 | "version" : "6.017" | |
740 | "version" : "6.024" | |
741 | 741 | }, |
742 | 742 | { |
743 | 743 | "class" : "Dist::Zilla::Plugin::FinderCode", |
744 | 744 | "name" : ":ShareFiles", |
745 | "version" : "6.017" | |
745 | "version" : "6.024" | |
746 | 746 | }, |
747 | 747 | { |
748 | 748 | "class" : "Dist::Zilla::Plugin::FinderCode", |
749 | 749 | "name" : ":MainModule", |
750 | "version" : "6.017" | |
750 | "version" : "6.024" | |
751 | 751 | }, |
752 | 752 | { |
753 | 753 | "class" : "Dist::Zilla::Plugin::FinderCode", |
754 | 754 | "name" : ":AllFiles", |
755 | "version" : "6.017" | |
755 | "version" : "6.024" | |
756 | 756 | }, |
757 | 757 | { |
758 | 758 | "class" : "Dist::Zilla::Plugin::FinderCode", |
759 | 759 | "name" : ":NoFiles", |
760 | "version" : "6.017" | |
760 | "version" : "6.024" | |
761 | 761 | } |
762 | 762 | ], |
763 | 763 | "zilla" : { |
765 | 765 | "config" : { |
766 | 766 | "is_trial" : 0 |
767 | 767 | }, |
768 | "version" : "6.017" | |
768 | "version" : "6.024" | |
769 | 769 | } |
770 | 770 | }, |
771 | 771 | "x_contributors" : [ |
818 | 818 | "murphy <murphy@genome.chop.edu>", |
819 | 819 | "Olaf Alders <olaf@wundersolutions.com>", |
820 | 820 | "Ondrej Hanak <ondrej.hanak@ubs.com>", |
821 | "Paul Cochrane <paul.cochrane@posteo.de>", | |
821 | 822 | "Peter Rabbitson <ribasushi@cpan.org>", |
822 | 823 | "phrstbrn <phrstbrn@gmail.com>", |
823 | 824 | "Robert Stone <talby@trap.mtview.ca.us>", |
842 | 843 | "Zefram <zefram@fysh.org>" |
843 | 844 | ], |
844 | 845 | "x_generated_by_perl" : "v5.30.2", |
845 | "x_serialization_backend" : "Cpanel::JSON::XS version 4.25", | |
846 | "x_serialization_backend" : "Cpanel::JSON::XS version 4.26", | |
846 | 847 | "x_spdx_expression" : "Artistic-1.0-Perl OR GPL-1.0-or-later", |
847 | 848 | "x_static_install" : 1 |
848 | 849 | } |
11 | 11 | configure_requires: |
12 | 12 | ExtUtils::MakeMaker: '0' |
13 | 13 | dynamic_config: 0 |
14 | generated_by: 'Dist::Zilla version 6.017, CPAN::Meta::Converter version 2.150010' | |
14 | generated_by: 'Dist::Zilla version 6.024, CPAN::Meta::Converter version 2.150010' | |
15 | 15 | license: perl |
16 | 16 | meta-spec: |
17 | 17 | url: http://module-build.sourceforge.net/META-spec-v1.4.html |
38 | 38 | bugtracker: https://github.com/libwww-perl/Net-HTTP/issues |
39 | 39 | homepage: https://github.com/libwww-perl/Net-HTTP |
40 | 40 | repository: https://github.com/libwww-perl/Net-HTTP.git |
41 | version: '6.21' | |
41 | version: '6.22' | |
42 | 42 | x_Dist_Zilla: |
43 | 43 | perl: |
44 | 44 | version: '5.030002' |
46 | 46 | - |
47 | 47 | class: Dist::Zilla::Plugin::MetaResources |
48 | 48 | name: MetaResources |
49 | version: '6.017' | |
49 | version: '6.024' | |
50 | 50 | - |
51 | 51 | class: Dist::Zilla::Plugin::Prereqs |
52 | 52 | config: |
54 | 54 | phase: runtime |
55 | 55 | type: requires |
56 | 56 | name: Prereqs |
57 | version: '6.017' | |
57 | version: '6.024' | |
58 | 58 | - |
59 | 59 | class: Dist::Zilla::Plugin::PromptIfStale |
60 | 60 | config: |
88 | 88 | class: Dist::Zilla::Plugin::MakeMaker |
89 | 89 | config: |
90 | 90 | Dist::Zilla::Role::TestRunner: |
91 | default_jobs: '4' | |
91 | default_jobs: '1' | |
92 | 92 | name: '@Author::OALDERS/MakeMaker' |
93 | version: '6.017' | |
93 | version: '6.024' | |
94 | 94 | - |
95 | 95 | class: Dist::Zilla::Plugin::CPANFile |
96 | 96 | name: '@Author::OALDERS/CPANFile' |
97 | version: '6.017' | |
97 | version: '6.024' | |
98 | 98 | - |
99 | 99 | class: Dist::Zilla::Plugin::ContributorsFile |
100 | 100 | name: '@Author::OALDERS/ContributorsFile' |
102 | 102 | - |
103 | 103 | class: Dist::Zilla::Plugin::MetaJSON |
104 | 104 | name: '@Author::OALDERS/MetaJSON' |
105 | version: '6.017' | |
105 | version: '6.024' | |
106 | 106 | - |
107 | 107 | class: Dist::Zilla::Plugin::MetaYAML |
108 | 108 | name: '@Author::OALDERS/MetaYAML' |
109 | version: '6.017' | |
109 | version: '6.024' | |
110 | 110 | - |
111 | 111 | class: Dist::Zilla::Plugin::Manifest |
112 | 112 | name: '@Author::OALDERS/Manifest' |
113 | version: '6.017' | |
113 | version: '6.024' | |
114 | 114 | - |
115 | 115 | class: Dist::Zilla::Plugin::MetaNoIndex |
116 | 116 | name: '@Author::OALDERS/MetaNoIndex' |
117 | version: '6.017' | |
117 | version: '6.024' | |
118 | 118 | - |
119 | 119 | class: Dist::Zilla::Plugin::MetaConfig |
120 | 120 | name: '@Author::OALDERS/MetaConfig' |
121 | version: '6.017' | |
121 | version: '6.024' | |
122 | 122 | - |
123 | 123 | class: Dist::Zilla::Plugin::MetaResources |
124 | 124 | name: '@Author::OALDERS/MetaResources' |
125 | version: '6.017' | |
125 | version: '6.024' | |
126 | 126 | - |
127 | 127 | class: Dist::Zilla::Plugin::License |
128 | 128 | name: '@Author::OALDERS/License' |
129 | version: '6.017' | |
129 | version: '6.024' | |
130 | 130 | - |
131 | 131 | class: Dist::Zilla::Plugin::InstallGuide |
132 | 132 | config: |
134 | 134 | Module::Metadata: '1.000037' |
135 | 135 | version: '0.006' |
136 | 136 | name: '@Author::OALDERS/InstallGuide' |
137 | version: '1.200013' | |
137 | version: '1.200014' | |
138 | 138 | - |
139 | 139 | class: Dist::Zilla::Plugin::ExecDir |
140 | 140 | name: '@Author::OALDERS/ExecDir' |
141 | version: '6.017' | |
141 | version: '6.024' | |
142 | 142 | - |
143 | 143 | class: Dist::Zilla::Plugin::MojibakeTests |
144 | 144 | name: '@Author::OALDERS/MojibakeTests' |
146 | 146 | - |
147 | 147 | class: Dist::Zilla::Plugin::PodSyntaxTests |
148 | 148 | name: '@Author::OALDERS/PodSyntaxTests' |
149 | version: '6.017' | |
149 | version: '6.024' | |
150 | 150 | - |
151 | 151 | class: Dist::Zilla::Plugin::Test::EOL |
152 | 152 | config: |
169 | 169 | - |
170 | 170 | class: Dist::Zilla::Plugin::TestRelease |
171 | 171 | name: '@Author::OALDERS/TestRelease' |
172 | version: '6.017' | |
172 | version: '6.024' | |
173 | 173 | - |
174 | 174 | class: Dist::Zilla::Plugin::Test::ReportPrereqs |
175 | 175 | name: '@Author::OALDERS/Test::ReportPrereqs' |
182 | 182 | class: Dist::Zilla::Plugin::RunExtraTests |
183 | 183 | config: |
184 | 184 | Dist::Zilla::Role::TestRunner: |
185 | default_jobs: '4' | |
185 | default_jobs: '1' | |
186 | 186 | name: '@Author::OALDERS/RunExtraTests' |
187 | 187 | version: '0.029' |
188 | 188 | - |
258 | 258 | name: '@Default/Legal' |
259 | 259 | version: '4.015' |
260 | 260 | name: '@Author::OALDERS/PodWeaver' |
261 | version: '4.008' | |
261 | version: '4.009' | |
262 | 262 | - |
263 | 263 | class: Dist::Zilla::Plugin::PruneCruft |
264 | 264 | name: '@Author::OALDERS/PruneCruft' |
265 | version: '6.017' | |
265 | version: '6.024' | |
266 | 266 | - |
267 | 267 | class: Dist::Zilla::Plugin::CopyFilesFromBuild |
268 | 268 | name: '@Author::OALDERS/CopyFilesFromBuild' |
291 | 291 | Dist::Zilla::Plugin::Git::GatherDir: |
292 | 292 | include_untracked: 0 |
293 | 293 | name: '@Author::OALDERS/Git::GatherDir' |
294 | version: '2.047' | |
294 | version: '2.048' | |
295 | 295 | - |
296 | 296 | class: Dist::Zilla::Plugin::CopyFilesFromRelease |
297 | 297 | config: |
319 | 319 | allow_dirty_match: [] |
320 | 320 | changelog: Changes |
321 | 321 | Dist::Zilla::Role::Git::Repo: |
322 | git_version: 2.30.1 | |
322 | git_version: 2.34.1 | |
323 | 323 | repo_root: . |
324 | 324 | name: '@Author::OALDERS/Git::Check' |
325 | version: '2.047' | |
325 | version: '2.048' | |
326 | 326 | - |
327 | 327 | class: Dist::Zilla::Plugin::Git::Contributors |
328 | 328 | config: |
329 | 329 | Dist::Zilla::Plugin::Git::Contributors: |
330 | git_version: 2.30.1 | |
330 | git_version: 2.34.1 | |
331 | 331 | include_authors: 0 |
332 | 332 | include_releaser: 1 |
333 | 333 | order_by: name |
344 | 344 | - |
345 | 345 | class: Dist::Zilla::Plugin::ShareDir |
346 | 346 | name: '@Author::OALDERS/ShareDir' |
347 | version: '6.017' | |
347 | version: '6.024' | |
348 | 348 | - |
349 | 349 | class: Dist::Zilla::Plugin::CheckIssues |
350 | 350 | name: '@Author::OALDERS/CheckIssues' |
352 | 352 | - |
353 | 353 | class: Dist::Zilla::Plugin::ConfirmRelease |
354 | 354 | name: '@Author::OALDERS/ConfirmRelease' |
355 | version: '6.017' | |
355 | version: '6.024' | |
356 | 356 | - |
357 | 357 | class: Dist::Zilla::Plugin::UploadToCPAN |
358 | 358 | name: '@Author::OALDERS/UploadToCPAN' |
359 | version: '6.017' | |
359 | version: '6.024' | |
360 | 360 | - |
361 | 361 | class: Dist::Zilla::Plugin::RewriteVersion::Transitional |
362 | 362 | config: |
403 | 403 | allow_dirty_match: [] |
404 | 404 | changelog: Changes |
405 | 405 | Dist::Zilla::Role::Git::Repo: |
406 | git_version: 2.30.1 | |
406 | git_version: 2.34.1 | |
407 | 407 | repo_root: . |
408 | 408 | Dist::Zilla::Role::Git::StringFormatter: |
409 | 409 | time_zone: local |
410 | 410 | name: '@Author::OALDERS/@Git::VersionManager/release snapshot' |
411 | version: '2.047' | |
411 | version: '2.048' | |
412 | 412 | - |
413 | 413 | class: Dist::Zilla::Plugin::Git::Tag |
414 | 414 | config: |
416 | 416 | branch: ~ |
417 | 417 | changelog: Changes |
418 | 418 | signed: 0 |
419 | tag: v6.21 | |
419 | tag: v6.22 | |
420 | 420 | tag_format: v%V |
421 | 421 | tag_message: v%V |
422 | 422 | Dist::Zilla::Role::Git::Repo: |
423 | git_version: 2.30.1 | |
423 | git_version: 2.34.1 | |
424 | 424 | repo_root: . |
425 | 425 | Dist::Zilla::Role::Git::StringFormatter: |
426 | 426 | time_zone: local |
427 | 427 | name: '@Author::OALDERS/@Git::VersionManager/Git::Tag' |
428 | version: '2.047' | |
428 | version: '2.048' | |
429 | 429 | - |
430 | 430 | class: Dist::Zilla::Plugin::BumpVersionAfterRelease::Transitional |
431 | 431 | config: |
441 | 441 | - |
442 | 442 | class: Dist::Zilla::Plugin::NextRelease |
443 | 443 | name: '@Author::OALDERS/@Git::VersionManager/NextRelease' |
444 | version: '6.017' | |
444 | version: '6.024' | |
445 | 445 | - |
446 | 446 | class: Dist::Zilla::Plugin::Git::Commit |
447 | 447 | config: |
458 | 458 | - (?^:^lib/.*\.pm$) |
459 | 459 | changelog: Changes |
460 | 460 | Dist::Zilla::Role::Git::Repo: |
461 | git_version: 2.30.1 | |
461 | git_version: 2.34.1 | |
462 | 462 | repo_root: . |
463 | 463 | Dist::Zilla::Role::Git::StringFormatter: |
464 | 464 | time_zone: local |
465 | 465 | name: '@Author::OALDERS/@Git::VersionManager/post-release commit' |
466 | version: '2.047' | |
466 | version: '2.048' | |
467 | 467 | - |
468 | 468 | class: Dist::Zilla::Plugin::Git::Push |
469 | 469 | config: |
472 | 472 | - origin |
473 | 473 | remotes_must_exist: 1 |
474 | 474 | Dist::Zilla::Role::Git::Repo: |
475 | git_version: 2.30.1 | |
475 | git_version: 2.34.1 | |
476 | 476 | repo_root: . |
477 | 477 | name: '@Author::OALDERS/Git::Push' |
478 | version: '2.047' | |
478 | version: '2.048' | |
479 | 479 | - |
480 | 480 | class: Dist::Zilla::Plugin::Test::Pod::Coverage::Configurable |
481 | 481 | name: Test::Pod::Coverage::Configurable |
483 | 483 | - |
484 | 484 | class: Dist::Zilla::Plugin::AutoPrereqs |
485 | 485 | name: AutoPrereqs |
486 | version: '6.017' | |
486 | version: '6.024' | |
487 | 487 | - |
488 | 488 | class: Dist::Zilla::Plugin::Prereqs |
489 | 489 | config: |
491 | 491 | phase: runtime |
492 | 492 | type: suggests |
493 | 493 | name: RuntimeSuggests |
494 | version: '6.017' | |
494 | version: '6.024' | |
495 | 495 | - |
496 | 496 | class: Dist::Zilla::Plugin::Prereqs::Soften |
497 | 497 | config: |
518 | 518 | - |
519 | 519 | class: Dist::Zilla::Plugin::FinderCode |
520 | 520 | name: ':InstallModules' |
521 | version: '6.017' | |
521 | version: '6.024' | |
522 | 522 | - |
523 | 523 | class: Dist::Zilla::Plugin::FinderCode |
524 | 524 | name: ':IncModules' |
525 | version: '6.017' | |
525 | version: '6.024' | |
526 | 526 | - |
527 | 527 | class: Dist::Zilla::Plugin::FinderCode |
528 | 528 | name: ':TestFiles' |
529 | version: '6.017' | |
529 | version: '6.024' | |
530 | 530 | - |
531 | 531 | class: Dist::Zilla::Plugin::FinderCode |
532 | 532 | name: ':ExtraTestFiles' |
533 | version: '6.017' | |
533 | version: '6.024' | |
534 | 534 | - |
535 | 535 | class: Dist::Zilla::Plugin::FinderCode |
536 | 536 | name: ':ExecFiles' |
537 | version: '6.017' | |
537 | version: '6.024' | |
538 | 538 | - |
539 | 539 | class: Dist::Zilla::Plugin::FinderCode |
540 | 540 | name: ':PerlExecFiles' |
541 | version: '6.017' | |
541 | version: '6.024' | |
542 | 542 | - |
543 | 543 | class: Dist::Zilla::Plugin::FinderCode |
544 | 544 | name: ':ShareFiles' |
545 | version: '6.017' | |
545 | version: '6.024' | |
546 | 546 | - |
547 | 547 | class: Dist::Zilla::Plugin::FinderCode |
548 | 548 | name: ':MainModule' |
549 | version: '6.017' | |
549 | version: '6.024' | |
550 | 550 | - |
551 | 551 | class: Dist::Zilla::Plugin::FinderCode |
552 | 552 | name: ':AllFiles' |
553 | version: '6.017' | |
553 | version: '6.024' | |
554 | 554 | - |
555 | 555 | class: Dist::Zilla::Plugin::FinderCode |
556 | 556 | name: ':NoFiles' |
557 | version: '6.017' | |
557 | version: '6.024' | |
558 | 558 | zilla: |
559 | 559 | class: Dist::Zilla::Dist::Builder |
560 | 560 | config: |
561 | 561 | is_trial: '0' |
562 | version: '6.017' | |
562 | version: '6.024' | |
563 | 563 | x_contributors: |
564 | 564 | - 'Adam Kennedy <adamk@cpan.org>' |
565 | 565 | - 'Adam Sjogren <asjo@koldfront.dk>' |
610 | 610 | - 'murphy <murphy@genome.chop.edu>' |
611 | 611 | - 'Olaf Alders <olaf@wundersolutions.com>' |
612 | 612 | - 'Ondrej Hanak <ondrej.hanak@ubs.com>' |
613 | - 'Paul Cochrane <paul.cochrane@posteo.de>' | |
613 | 614 | - 'Peter Rabbitson <ribasushi@cpan.org>' |
614 | 615 | - 'phrstbrn <phrstbrn@gmail.com>' |
615 | 616 | - 'Robert Stone <talby@trap.mtview.ca.us>' |
0 | # This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.017. | |
0 | # This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.024. | |
1 | 1 | use strict; |
2 | 2 | use warnings; |
3 | 3 | |
33 | 33 | "Socket" => 0, |
34 | 34 | "Test::More" => 0 |
35 | 35 | }, |
36 | "VERSION" => "6.21", | |
36 | "VERSION" => "6.22", | |
37 | 37 | "test" => { |
38 | 38 | "TESTS" => "t/*.t" |
39 | 39 | } |
3 | 3 | |
4 | 4 | # VERSION |
5 | 5 | |
6 | version 6.21 | |
6 | version 6.22 | |
7 | 7 | |
8 | 8 | # SYNOPSIS |
9 | 9 | |
36 | 36 | The following methods are provided (in addition to those of |
37 | 37 | `IO::Socket::INET`): |
38 | 38 | |
39 | - $s = Net::HTTP->new( %options ) | |
39 | - `$s = Net::HTTP->new( %options )` | |
40 | 40 | |
41 | 41 | The `Net::HTTP` constructor method takes the same options as |
42 | 42 | `IO::Socket::INET`'s as well as these: |
62 | 62 | returns `undef` and $@ contains the reason. After a successful |
63 | 63 | connect, a `Net:HTTP` object is returned. |
64 | 64 | |
65 | - $s->host | |
65 | - `$s->host` | |
66 | 66 | |
67 | 67 | Get/set the default value of the `Host` header to send. The $host |
68 | 68 | must not be set to an empty string (or `undef`) for HTTP/1.1. |
69 | 69 | |
70 | - $s->keep\_alive | |
70 | - `$s->keep_alive` | |
71 | 71 | |
72 | 72 | Get/set the _keep-alive_ value. If this value is TRUE then the |
73 | 73 | request will be sent with headers indicating that the server should try |
76 | 76 | The actual headers set will depend on the value of the `http_version` |
77 | 77 | and `peer_http_version` attributes. |
78 | 78 | |
79 | - $s->send\_te | |
79 | - `$s->send_te` | |
80 | 80 | |
81 | 81 | Get/set the a value indicating if the request will be sent with a "TE" |
82 | 82 | header to indicate the transfer encodings that the server can choose to |
84 | 84 | on availability of the following modules: `Compress::Raw::Zlib` for |
85 | 85 | _deflate_, and `IO::Compress::Gunzip` for _gzip_. |
86 | 86 | |
87 | - $s->http\_version | |
87 | - `$s->http_version` | |
88 | 88 | |
89 | 89 | Get/set the HTTP version number that this client should announce. |
90 | 90 | This value can only be set to "1.0" or "1.1". The default is "1.1". |
91 | 91 | |
92 | - $s->peer\_http\_version | |
92 | - `$s->peer_http_version` | |
93 | 93 | |
94 | 94 | Get/set the protocol version number of our peer. This value will |
95 | 95 | initially be "1.0", but will be updated by a successful |
96 | 96 | read\_response\_headers() method call. |
97 | 97 | |
98 | - $s->max\_line\_length | |
98 | - `$s->max_line_length` | |
99 | 99 | |
100 | 100 | Get/set a limit on the length of response line and response header |
101 | 101 | lines. The default is 8192. A value of 0 means no limit. |
102 | 102 | |
103 | - $s->max\_header\_length | |
103 | - `$s->max_header_length` | |
104 | 104 | |
105 | 105 | Get/set a limit on the number of header lines that a response can |
106 | 106 | have. The default is 128. A value of 0 means no limit. |
107 | 107 | |
108 | - $s->format\_request($method, $uri, %headers, \[$content\]) | |
108 | - `$s->format_request($method, $uri, %headers, [$content])` | |
109 | 109 | |
110 | 110 | Format a request message and return it as a string. If the headers do |
111 | 111 | not include a `Host` header, then a header is inserted with the value |
116 | 116 | If $content is given (and it is non-empty), then a `Content-Length` |
117 | 117 | header is automatically added unless it was already present. |
118 | 118 | |
119 | - $s->write\_request($method, $uri, %headers, \[$content\]) | |
119 | - `$s->write_request($method, $uri, %headers, [$content])` | |
120 | 120 | |
121 | 121 | Format and send a request message. Arguments are the same as for |
122 | 122 | format\_request(). Returns true if successful. |
123 | 123 | |
124 | - $s->format\_chunk( $data ) | |
124 | - `$s->format_chunk( $data )` | |
125 | 125 | |
126 | 126 | Returns the string to be written for the given chunk of data. |
127 | 127 | |
128 | - $s->write\_chunk($data) | |
128 | - `$s->write_chunk($data)` | |
129 | 129 | |
130 | 130 | Will write a new chunk of request entity body data. This method |
131 | 131 | should only be used if the `Transfer-Encoding` header with a value of |
135 | 135 | |
136 | 136 | Returns true if successful. |
137 | 137 | |
138 | - $s->format\_chunk\_eof( %trailers ) | |
138 | - `$s->format_chunk_eof( %trailers )` | |
139 | 139 | |
140 | 140 | Returns the string to be written for signaling EOF when a |
141 | 141 | `Transfer-Encoding` of `chunked` is used. |
142 | 142 | |
143 | - $s->write\_chunk\_eof( %trailers ) | |
143 | - `$s->write_chunk_eof( %trailers )` | |
144 | 144 | |
145 | 145 | Will write eof marker for chunked data and optional trailers. Note |
146 | 146 | that trailers should not really be used unless is was signaled |
148 | 148 | |
149 | 149 | Returns true if successful. |
150 | 150 | |
151 | - ($code, $mess, %headers) = $s->read\_response\_headers( %opts ) | |
151 | - `($code, $mess, %headers) = $s->read_response_headers( %opts )` | |
152 | 152 | |
153 | 153 | Read response headers from server and return it. The $code is the 3 |
154 | 154 | digit HTTP status code (see [HTTP::Status](https://metacpan.org/pod/HTTP%3A%3AStatus)) and $mess is the textual |
184 | 184 | then no exception will be raised and this method will always |
185 | 185 | return a response code. |
186 | 186 | |
187 | - $n = $s->read\_entity\_body($buf, $size); | |
187 | - `$n = $s->read_entity_body($buf, $size);` | |
188 | 188 | |
189 | 189 | Reads chunks of the entity body content. Basically the same interface |
190 | 190 | as for read() and sysread(), but the buffer offset argument is not |
203 | 203 | This method will raise exceptions (die) if the server does not speak |
204 | 204 | proper HTTP. This can only happen when reading chunked data. |
205 | 205 | |
206 | - %headers = $s->get\_trailers | |
206 | - `%headers = $s->get_trailers` | |
207 | 207 | |
208 | 208 | After read\_entity\_body() has returned 0 to indicate end of the entity |
209 | 209 | body, you might call this method to pick up any trailers. |
210 | 210 | |
211 | - $s->\_rbuf | |
211 | - `$s->_rbuf` | |
212 | 212 | |
213 | 213 | Get/set the read buffer content. The read\_response\_headers() and |
214 | 214 | read\_entity\_body() methods use an internal buffer which they will look |
215 | 215 | for data before they actually sysread more from the socket itself. If |
216 | 216 | they read too much, the remaining data will be left in this buffer. |
217 | 217 | |
218 | - $s->\_rbuf\_length | |
218 | - `$s->_rbuf_length` | |
219 | 219 | |
220 | 220 | Returns the number of bytes in the read buffer. This should always be |
221 | 221 | the same as: |
243 | 243 | |
244 | 244 | # COPYRIGHT AND LICENSE |
245 | 245 | |
246 | This software is copyright (c) 2001-2017 by Gisle Aas. | |
246 | This software is copyright (c) 2001 by Gisle Aas. | |
247 | 247 | |
248 | 248 | This is free software; you can redistribute it and/or modify it under |
249 | 249 | the same terms as the Perl 5 programming language system itself. |
0 | # This file is generated by Dist::Zilla::Plugin::CPANFile v6.017 | |
0 | # This file is generated by Dist::Zilla::Plugin::CPANFile v6.024 | |
1 | 1 | # Do not edit this file directly. To change prereqs, edit the `dist.ini` file. |
2 | 2 | |
3 | 3 | requires "Carp" => "0"; |
2 | 2 | license = Perl_5 |
3 | 3 | main_module = lib/Net/HTTP.pm |
4 | 4 | copyright_holder = Gisle Aas |
5 | copyright_year = 2001-2017 | |
5 | copyright_year = 2001 | |
6 | 6 | |
7 | 7 | [MetaResources] |
8 | 8 | x_IRC = irc://irc.perl.org/#lwp |
0 | 0 | package Net::HTTP::Methods; |
1 | our $VERSION = '6.21'; | |
1 | our $VERSION = '6.22'; | |
2 | 2 | use strict; |
3 | 3 | use warnings; |
4 | 4 | use URI; |
654 | 654 | |
655 | 655 | =head1 VERSION |
656 | 656 | |
657 | version 6.21 | |
657 | version 6.22 | |
658 | 658 | |
659 | 659 | =head1 AUTHOR |
660 | 660 | |
662 | 662 | |
663 | 663 | =head1 COPYRIGHT AND LICENSE |
664 | 664 | |
665 | This software is copyright (c) 2001-2017 by Gisle Aas. | |
665 | This software is copyright (c) 2001 by Gisle Aas. | |
666 | 666 | |
667 | 667 | This is free software; you can redistribute it and/or modify it under |
668 | 668 | the same terms as the Perl 5 programming language system itself. |
0 | 0 | package Net::HTTP::NB; |
1 | our $VERSION = '6.21'; | |
1 | our $VERSION = '6.22'; | |
2 | 2 | use strict; |
3 | 3 | use warnings; |
4 | 4 | |
59 | 59 | |
60 | 60 | =head1 VERSION |
61 | 61 | |
62 | version 6.21 | |
62 | version 6.22 | |
63 | 63 | |
64 | 64 | =head1 SYNOPSIS |
65 | 65 | |
107 | 107 | |
108 | 108 | =head1 COPYRIGHT AND LICENSE |
109 | 109 | |
110 | This software is copyright (c) 2001-2017 by Gisle Aas. | |
110 | This software is copyright (c) 2001 by Gisle Aas. | |
111 | 111 | |
112 | 112 | This is free software; you can redistribute it and/or modify it under |
113 | 113 | the same terms as the Perl 5 programming language system itself. |
0 | 0 | package Net::HTTP; |
1 | our $VERSION = '6.21'; | |
1 | our $VERSION = '6.22'; | |
2 | 2 | use strict; |
3 | 3 | use warnings; |
4 | 4 | |
49 | 49 | |
50 | 50 | =head1 VERSION |
51 | 51 | |
52 | version 6.21 | |
52 | version 6.22 | |
53 | 53 | |
54 | 54 | =head1 SYNOPSIS |
55 | 55 | |
84 | 84 | |
85 | 85 | =over |
86 | 86 | |
87 | =item $s = Net::HTTP->new( %options ) | |
87 | =item C<< $s = Net::HTTP->new( %options ) >> | |
88 | 88 | |
89 | 89 | The C<Net::HTTP> constructor method takes the same options as |
90 | 90 | C<IO::Socket::INET>'s as well as these: |
110 | 110 | returns C<undef> and $@ contains the reason. After a successful |
111 | 111 | connect, a C<Net:HTTP> object is returned. |
112 | 112 | |
113 | =item $s->host | |
113 | =item C<< $s->host >> | |
114 | 114 | |
115 | 115 | Get/set the default value of the C<Host> header to send. The $host |
116 | 116 | must not be set to an empty string (or C<undef>) for HTTP/1.1. |
117 | 117 | |
118 | =item $s->keep_alive | |
118 | =item C<< $s->keep_alive >> | |
119 | 119 | |
120 | 120 | Get/set the I<keep-alive> value. If this value is TRUE then the |
121 | 121 | request will be sent with headers indicating that the server should try |
124 | 124 | The actual headers set will depend on the value of the C<http_version> |
125 | 125 | and C<peer_http_version> attributes. |
126 | 126 | |
127 | =item $s->send_te | |
127 | =item C<< $s->send_te >> | |
128 | 128 | |
129 | 129 | Get/set the a value indicating if the request will be sent with a "TE" |
130 | 130 | header to indicate the transfer encodings that the server can choose to |
132 | 132 | on availability of the following modules: C<Compress::Raw::Zlib> for |
133 | 133 | I<deflate>, and C<IO::Compress::Gunzip> for I<gzip>. |
134 | 134 | |
135 | =item $s->http_version | |
135 | =item C<< $s->http_version >> | |
136 | 136 | |
137 | 137 | Get/set the HTTP version number that this client should announce. |
138 | 138 | This value can only be set to "1.0" or "1.1". The default is "1.1". |
139 | 139 | |
140 | =item $s->peer_http_version | |
140 | =item C<< $s->peer_http_version >> | |
141 | 141 | |
142 | 142 | Get/set the protocol version number of our peer. This value will |
143 | 143 | initially be "1.0", but will be updated by a successful |
144 | 144 | read_response_headers() method call. |
145 | 145 | |
146 | =item $s->max_line_length | |
146 | =item C<< $s->max_line_length >> | |
147 | 147 | |
148 | 148 | Get/set a limit on the length of response line and response header |
149 | 149 | lines. The default is 8192. A value of 0 means no limit. |
150 | 150 | |
151 | =item $s->max_header_length | |
151 | =item C<< $s->max_header_length >> | |
152 | 152 | |
153 | 153 | Get/set a limit on the number of header lines that a response can |
154 | 154 | have. The default is 128. A value of 0 means no limit. |
155 | 155 | |
156 | =item $s->format_request($method, $uri, %headers, [$content]) | |
156 | =item C<< $s->format_request($method, $uri, %headers, [$content]) >> | |
157 | 157 | |
158 | 158 | Format a request message and return it as a string. If the headers do |
159 | 159 | not include a C<Host> header, then a header is inserted with the value |
164 | 164 | If $content is given (and it is non-empty), then a C<Content-Length> |
165 | 165 | header is automatically added unless it was already present. |
166 | 166 | |
167 | =item $s->write_request($method, $uri, %headers, [$content]) | |
167 | =item C<< $s->write_request($method, $uri, %headers, [$content]) >> | |
168 | 168 | |
169 | 169 | Format and send a request message. Arguments are the same as for |
170 | 170 | format_request(). Returns true if successful. |
171 | 171 | |
172 | =item $s->format_chunk( $data ) | |
172 | =item C<< $s->format_chunk( $data ) >> | |
173 | 173 | |
174 | 174 | Returns the string to be written for the given chunk of data. |
175 | 175 | |
176 | =item $s->write_chunk($data) | |
176 | =item C<< $s->write_chunk($data) >> | |
177 | 177 | |
178 | 178 | Will write a new chunk of request entity body data. This method |
179 | 179 | should only be used if the C<Transfer-Encoding> header with a value of |
183 | 183 | |
184 | 184 | Returns true if successful. |
185 | 185 | |
186 | =item $s->format_chunk_eof( %trailers ) | |
186 | =item C<< $s->format_chunk_eof( %trailers ) >> | |
187 | 187 | |
188 | 188 | Returns the string to be written for signaling EOF when a |
189 | 189 | C<Transfer-Encoding> of C<chunked> is used. |
190 | 190 | |
191 | =item $s->write_chunk_eof( %trailers ) | |
191 | =item C<< $s->write_chunk_eof( %trailers ) >> | |
192 | 192 | |
193 | 193 | Will write eof marker for chunked data and optional trailers. Note |
194 | 194 | that trailers should not really be used unless is was signaled |
196 | 196 | |
197 | 197 | Returns true if successful. |
198 | 198 | |
199 | =item ($code, $mess, %headers) = $s->read_response_headers( %opts ) | |
199 | =item C<< ($code, $mess, %headers) = $s->read_response_headers( %opts ) >> | |
200 | 200 | |
201 | 201 | Read response headers from server and return it. The $code is the 3 |
202 | 202 | digit HTTP status code (see L<HTTP::Status>) and $mess is the textual |
232 | 232 | then no exception will be raised and this method will always |
233 | 233 | return a response code. |
234 | 234 | |
235 | =item $n = $s->read_entity_body($buf, $size); | |
235 | =item C<< $n = $s->read_entity_body($buf, $size); >> | |
236 | 236 | |
237 | 237 | Reads chunks of the entity body content. Basically the same interface |
238 | 238 | as for read() and sysread(), but the buffer offset argument is not |
251 | 251 | This method will raise exceptions (die) if the server does not speak |
252 | 252 | proper HTTP. This can only happen when reading chunked data. |
253 | 253 | |
254 | =item %headers = $s->get_trailers | |
254 | =item C<< %headers = $s->get_trailers >> | |
255 | 255 | |
256 | 256 | After read_entity_body() has returned 0 to indicate end of the entity |
257 | 257 | body, you might call this method to pick up any trailers. |
258 | 258 | |
259 | =item $s->_rbuf | |
259 | =item C<< $s->_rbuf >> | |
260 | 260 | |
261 | 261 | Get/set the read buffer content. The read_response_headers() and |
262 | 262 | read_entity_body() methods use an internal buffer which they will look |
263 | 263 | for data before they actually sysread more from the socket itself. If |
264 | 264 | they read too much, the remaining data will be left in this buffer. |
265 | 265 | |
266 | =item $s->_rbuf_length | |
266 | =item C<< $s->_rbuf_length >> | |
267 | 267 | |
268 | 268 | Returns the number of bytes in the read buffer. This should always be |
269 | 269 | the same as: |
293 | 293 | |
294 | 294 | =head1 COPYRIGHT AND LICENSE |
295 | 295 | |
296 | This software is copyright (c) 2001-2017 by Gisle Aas. | |
296 | This software is copyright (c) 2001 by Gisle Aas. | |
297 | 297 | |
298 | 298 | This is free software; you can redistribute it and/or modify it under |
299 | 299 | the same terms as the Perl 5 programming language system itself. |
0 | 0 | package Net::HTTPS; |
1 | our $VERSION = '6.21'; | |
1 | our $VERSION = '6.22'; | |
2 | 2 | use strict; |
3 | 3 | use warnings; |
4 | 4 | |
89 | 89 | |
90 | 90 | =head1 VERSION |
91 | 91 | |
92 | version 6.21 | |
92 | version 6.22 | |
93 | 93 | |
94 | 94 | =head1 DESCRIPTION |
95 | 95 | |
121 | 121 | |
122 | 122 | =head1 COPYRIGHT AND LICENSE |
123 | 123 | |
124 | This software is copyright (c) 2001-2017 by Gisle Aas. | |
124 | This software is copyright (c) 2001 by Gisle Aas. | |
125 | 125 | |
126 | 126 | This is free software; you can redistribute it and/or modify it under |
127 | 127 | the same terms as the Perl 5 programming language system itself. |