forked from perl/perl-HTTP-Message
Accepting request 1010911 from devel:languages:perl:autoupdate
- updated to 6.41
see /usr/share/doc/packages/perl-HTTP-Message/Changes
6.41 2022-10-12 15:57:40Z
- Add maximum size for HTTP::Message->decoded_content
This can be used to limit the size of a decompressed HTTP response,
especially when making requests to untrusted or user-specified servers.
The $HTTP::Message::MAXIMUM_BODY_SIZE variable and the ->max_body_size
accessor can set this limit. (GH#181) (Max Maischein)
6.40 2022-10-12 15:45:52Z
- Fixed two typos in the doc, originally reported by FatherC
in RT#90716, ported over as GH#57. (GH#57) (Neil Bowers)
6.39 2022-10-08 13:48:26Z
- Remove Travis config (GH#180) (Olaf Alders)
- Added status_constant_name() which maps status code
to the name of the corresponding constant. (GH#160) (Neil Bowers)
- Updated the doc for status_message() to clarify that it
returns "Not Found" and not "HTTP_NOT_FOUND". (GH#160) (Neil Bowers)
6.38 2022-10-06 21:48:18Z
- Replace "base" with "parent" (GH#176) (James Raspass)
- Replace "print" with "note" in tests (GH#178) (James Raspass)
- Noted that OPTIONS supported was added in 6.1, to the doc
for HTTP::Request::Common. Addresses GH#177. (GH#179) (Neil Bowers)
OBS-URL: https://build.opensuse.org/request/show/1010911
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTTP-Message?expand=0&rev=49
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
|
||||
%define cpan_name HTTP-Message
|
||||
Name: perl-HTTP-Message
|
||||
Version: 6.37
|
||||
Version: 6.41
|
||||
Release: 0
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Summary: HTTP style message (base class)
|
||||
@@ -28,6 +28,7 @@ Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Compress::Raw::Bzip2)
|
||||
BuildRequires: perl(Compress::Raw::Zlib)
|
||||
BuildRequires: perl(Encode) >= 3.01
|
||||
BuildRequires: perl(Encode::Locale) >= 1
|
||||
@@ -46,6 +47,8 @@ BuildRequires: perl(Test::Needs)
|
||||
BuildRequires: perl(Try::Tiny)
|
||||
BuildRequires: perl(URI) >= 1.10
|
||||
BuildRequires: perl(URI::URL)
|
||||
BuildRequires: perl(parent)
|
||||
Requires: perl(Compress::Raw::Bzip2)
|
||||
Requires: perl(Compress::Raw::Zlib)
|
||||
Requires: perl(Encode) >= 3.01
|
||||
Requires: perl(Encode::Locale) >= 1
|
||||
@@ -60,6 +63,7 @@ Requires: perl(IO::Uncompress::Inflate)
|
||||
Requires: perl(IO::Uncompress::RawInflate)
|
||||
Requires: perl(LWP::MediaTypes) >= 6
|
||||
Requires: perl(URI) >= 1.10
|
||||
Requires: perl(parent)
|
||||
Recommends: perl(IO::Compress::Brotli) >= 0.004001
|
||||
Recommends: perl(IO::Uncompress::Brotli) >= 0.004001
|
||||
%{perl_requires}
|
||||
@@ -172,12 +176,12 @@ The following options can be specified.
|
||||
|
||||
* 'charset'
|
||||
|
||||
This override the charset parameter for text content. The value 'none' can
|
||||
This overrides the charset parameter for text content. The value 'none' can
|
||||
used to suppress decoding of the charset.
|
||||
|
||||
* 'default_charset'
|
||||
|
||||
This override the default charset guessed by content_charset() or if that
|
||||
This overrides the default charset guessed by content_charset() or if that
|
||||
fails "ISO-8859-1".
|
||||
|
||||
* 'alt_charset'
|
||||
|
||||
Reference in New Issue
Block a user