BSD Ports

www/hs-http-media 0.8.1.1nb5 NetBSD

Processing HTTP Content-Type and Accept headers

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
mit
Categories
www
Package size
270.2 KiB, 3068.7 KiB installed

Description

This library is intended to be a comprehensive solution to parsing and selecting quality-indexed values in HTTP headers. It is capable of parsing both media types and language parameters from the Accept and Content header families, and can be extended to match against other accept headers as well. Selecting the appropriate header value is achieved by comparing a list of server options against the quality-indexed values supplied by the client.

Install

Binary package:

pkgin install hs-http-media

From pkgsrc:

cd /usr/pkgsrc/www/hs-http-media && make install clean

Packages

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

RepositoryVersion
NetBSD 10.1 x86_640.8.1.1nb5
NetBSD 10.1 aarch640.8.1.1nb5
SmartOS / illumos x86_640.8.1.1nb5
macOS 15 arm640.8.1.1nb5

Dependencies

Run dependencies 3