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.
OS | Architecture | Version |
---|---|---|
NetBSD 10.0 | aarch64 | hs-http-media-0.8.1.1nb2.tgz |
NetBSD 10.0 | aarch64 | hs-http-media-0.8.1.1nb2.tgz |
NetBSD 10.0 | x86_64 | hs-http-media-0.8.1.1nb2.tgz |
NetBSD 10.0 | x86_64 | hs-http-media-0.8.1.1nb2.tgz |
NetBSD 9.0 | aarch64 | hs-http-media-0.8.1.1nb2.tgz |
NetBSD 9.0 | aarch64 | hs-http-media-0.8.1.1nb2.tgz |
NetBSD 9.0 | x86_64 | hs-http-media-0.8.1.1nb2.tgz |
NetBSD 9.0 | x86_64 | hs-http-media-0.8.1.1nb2.tgz |
NetBSD 9.3 | x86_64 | hs-http-media-0.8.1.1nb2.tgz |
Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.
The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.
Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.
Problem reports, updates or suggestions for this package should be reported with send-pr.