Mon, 12 Jan 2026 21:09:31 CST | login

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

ID44822
Package Nameghc-http-media
Version0.8.1.1
Release2.oc9
Epoch
DraftFalse
Sourcegit+https://gitee.com/opencloudos-stream/ghc-http-media.git?.#2be52819c113680b39183c7f3dfd498f49b8001c
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 bybbrucezhang
State complete
Volume DEFAULT
StartedWed, 15 Oct 2025 17:39:20 CST
CompletedWed, 15 Oct 2025 17:43:49 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-2.oc9.src.rpm (info) (download)
aarch64
ghc-http-media-0.8.1.1-2.oc9.aarch64.rpm (info) (download)
ghc-http-media-devel-0.8.1.1-2.oc9.aarch64.rpm (info) (download)
loongarch64
ghc-http-media-0.8.1.1-2.oc9.loongarch64.rpm (info) (download)
ghc-http-media-devel-0.8.1.1-2.oc9.loongarch64.rpm (info) (download)
noarch
ghc-http-media-doc-0.8.1.1-2.oc9.noarch.rpm (info) (download)
x86_64
ghc-http-media-0.8.1.1-2.oc9.x86_64.rpm (info) (download)
ghc-http-media-devel-0.8.1.1-2.oc9.x86_64.rpm (info) (download)
Logs
x86_64
hw_info.log
dnf.librepo.log
root.log
build.log
mock_output.log
installed_pkgs.log
dnf.rpm.log
state.log
dnf.log
mock_config.log
noarch_rpmdiff.json
aarch64
root.log
dnf.log
dnf.rpm.log
mock_config.log
build.log
installed_pkgs.log
state.log
dnf.librepo.log
hw_info.log
mock_output.log
noarch_rpmdiff.json
loongarch64
state.log
build.log
root.log
hw_info.log
installed_pkgs.log
mock_output.log
noarch_rpmdiff.json
Changelog * Mon Oct 13 2025 bbrucezhang <bbrucezhang@tencent.com> - Rebuilt * 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