BSD Ports

www/p5-HTTP-Response-Encoding 0.06_3 FreeBSD

Adds encoding() to HTTP::Response

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
www, perl5
Package size
8.5 KiB, 13.2 KiB installed

Description

This module adds the following methods to HTTP::Response objects.

$res->charset

Tells the charset exactly as appears in the Content-Type: header. Note that the presence of the charset does not guarantee if the response content is decodable via Encode.

$res->encoder

Returns the corresponding encoder object or undef if it can't.

$res->encoding

Tells the content encoding in the canonical name in Encode. Returns undef if it can't.

$res->decoded_content

Discontinued since HTTP::Message already has this method.

In the other systems

SystemPortVersion
FreeBSDwww/p5-HTTP-Response-Encoding0.06_3
OpenBSDwww/p5-HTTP-Response-Encoding0.06p1
NetBSDwww/p5-HTTP-Response-Encoding0.06nb17
DragonFlywww/p5-HTTP-Response-Encoding0.06_3

Install

Binary package:

pkg install p5-HTTP-Response-Encoding

From the ports tree:

cd /usr/ports/www/p5-HTTP-Response-Encoding/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-HTTP-Response-Encoding>0:www/p5-HTTP-Response-Encoding

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.06_30.06_30.06_30.06_30.06_3
FreeBSD:14:quarterly0.06_30.06_3n/a0.06_30.06_3
FreeBSD:15:latest0.06_30.06_3n/a0.06_30.06_3
FreeBSD:15:quarterly0.06_30.06_3n/an/an/a
FreeBSD:16:latest0.06_30.06_3n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

Runtime 2

The full lists below include those, and their dependencies in turn.

Build dependencies 25
Run dependencies 25

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%SITE_PERL%%/HTTP/Response/Encoding.pm
  • %%PERL5_MAN3%%/HTTP::Response::Encoding.3.gz
distinfo 1
FileSizeSHA256
HTTP-Response-Encoding-0.06.tar.gz553110167b8e238a682004ab0d7accbe9d76eae2db57af07c5ae2dfa808074a4a8aa
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.