P5-http-response-encoding

Jul 20, 2023

Adds encoding() to HTTP::Response

This module adds the following methods to HTTPResponse 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 HTTPMessage already has this method.



Checkout these related ports:
  • Zope213 - Object-based web application platform Version 2.13
  • Zola - Fast static site generator
  • Zgrab2 - Fast Go application scanner
  • Zerowait-httpd - Lightweight and fast http server
  • Zenphoto - Simpler web photo gallery
  • Zend-framework - Framework for developing PHP web applications
  • Yuicompressor - The Yahoo! JavaScript and CSS Compressor
  • Ytdl - YouTube downloader written in Go
  • Yt-dlp - Command-line program for downloading videos from various platforms
  • Youtube_dl - Program for downloading videos from various services
  • Yourls - Your Own URL Shortener
  • You-get - Dumb downloader that scrapes the web
  • Yaws - Web server for dynamic content written in Erlang
  • Yarr - Yet another rss reader
  • Yarn - Package manager for node, alternative to npm (meta port)