www/p5-HTTP-Response-Encoding 0.06_3 DragonFly
Adds encoding() to HTTP::Response
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- ART10, GPLv1+
- Categories
- perl5, www
- Package size
- 7.8 KiB, 13.4 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
| System | Port | Version |
|---|---|---|
| DragonFly | www/p5-HTTP-Response-Encoding | 0.06_3 |
| FreeBSD | www/p5-HTTP-Response-Encoding | 0.06_3 |
| OpenBSD | www/p5-HTTP-Response-Encoding | 0.06p1 |
| NetBSD | www/p5-HTTP-Response-Encoding | 0.06nb17 |
| HardenedBSD | www/p5-HTTP-Response-Encoding | 0.06_3 |
| GhostBSD | www/p5-HTTP-Response-Encoding | 0.06_3 |
Install
Binary package:
pkg install p5-HTTP-Response-Encoding
From DPorts:
cd /usr/dports/www/p5-HTTP-Response-Encoding && make install clean