Wed, 11 Mar 2026 06:47:38 CST | login

Information for build ghc-http-media-0.8.1.1-1.oc9

ID44724
Package Nameghc-http-media
Version0.8.1.1
Release1.oc9
Epoch
DraftFalse
Sourcegit+https://gitee.com/opencloudos-stream/ghc-http-media.git?.#24837e7d1eba2a3917e83daf7d9e241bc087744d
SummaryProcessing HTTP Content-Type and Accept headers
DescriptionThis 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. In the following example, the Accept header is parsed and then matched against a list of server options to serve the appropriate media using 'mapAcceptMedia': > getHeader >>= maybe send406Error sendResourceWith . mapAcceptMedia > [ ("text/html", asHtml) > , ("application/json", asJson) > ] Similarly, the Content-Type header can be used to produce a parser for request bodies based on the given content type with 'mapContentMedia': > getContentType >>= maybe send415Error readRequestBodyWith . mapContentMedia > [ ("application/json", parseJson) > , ("text/plain", parseText) > ] The API is agnostic to your choice of server.
Built byzeyouliu
State complete
Volume DEFAULT
StartedSat, 11 Oct 2025 00:54:16 CST
CompletedSat, 11 Oct 2025 01:07:59 CST
Taskbuild (dist-oc9-epol, /opencloudos-stream/ghc-http-media.git:.:origin/master)
Extra{'source': {'original_url': 'git+https://gitee.com/opencloudos-stream/ghc-http-media.git?.#origin/master'}}
Tags
dist-oc9-epol
dist-oc9-epol-compose
epol9-test-compose
RPMs
src
ghc-http-media-0.8.1.1-1.oc9.src.rpm (info) (download)
aarch64
ghc-http-media-0.8.1.1-1.oc9.aarch64.rpm (info) (download)
ghc-http-media-devel-0.8.1.1-1.oc9.aarch64.rpm (info) (download)
loongarch64
ghc-http-media-0.8.1.1-1.oc9.loongarch64.rpm (info) (download)
ghc-http-media-devel-0.8.1.1-1.oc9.loongarch64.rpm (info) (download)
noarch
ghc-http-media-doc-0.8.1.1-1.oc9.noarch.rpm (info) (download)
x86_64
ghc-http-media-0.8.1.1-1.oc9.x86_64.rpm (info) (download)
ghc-http-media-devel-0.8.1.1-1.oc9.x86_64.rpm (info) (download)
Logs
x86_64
dnf.rpm.log
dnf.librepo.log
dnf.log
mock_output.log
state.log
installed_pkgs.log
build.log
hw_info.log
root.log
mock_config.log
noarch_rpmdiff.json
aarch64
mock_config.log
installed_pkgs.log
dnf.librepo.log
mock_output.log
state.log
root.log
build.log
dnf.rpm.log
hw_info.log
dnf.log
noarch_rpmdiff.json
loongarch64
state.log
build.log
root.log
hw_info.log
installed_pkgs.log
mock_output.log
noarch_rpmdiff.json
Changelog * Fri Oct 10 2025 zeyouliu <zeyouliu@tencent.com> - 0.8.1.1-1 - [Type] other - [DESC] update to Version 0.8.1.1 * Thu Jun 05 2025 bbrucezhang <bbrucezhang@tencent.com> - 0.8.0.0-2 - Rebuilt for loongarch64 * Thu Aug 08 2024 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 0.8.0.0-1 - initial build