Mon, 16 Dec 2024 10:00:36 UTC | login

Information for build ghc-http-media-0.8.0.0-18.rvre0.fc38

ID250595
Package Nameghc-http-media
Version0.8.0.0
Release18.rvre0.fc38
Epoch
Sourcegit+http://fedora.riscv.rocks:3000/rpms/ghc-http-media.git#f0331ca1c7c814834aa50cd43c31520c44f4f71d
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 bydavidlt
State complete
Volume DEFAULT
StartedSat, 24 Jun 2023 13:39:57 UTC
CompletedSat, 24 Jun 2023 14:01:57 UTC
Taskbuild (f38, /rpms/ghc-http-media.git:f0331ca1c7c814834aa50cd43c31520c44f4f71d)
Extra{'source': {'original_url': 'git+http://fedora.riscv.rocks:3000/rpms/ghc-http-media.git#f0331ca1c7c814834aa50cd43c31520c44f4f71d'}}
Tags
f38
f39
f40
RPMs
src
ghc-http-media-0.8.0.0-18.rvre0.fc38.src.rpm (info) (download)
noarch
ghc-http-media-doc-0.8.0.0-18.rvre0.fc38.noarch.rpm (info) (download)
riscv64
ghc-http-media-0.8.0.0-18.rvre0.fc38.riscv64.rpm (info) (download)
ghc-http-media-devel-0.8.0.0-18.rvre0.fc38.riscv64.rpm (info) (download)
ghc-http-media-prof-0.8.0.0-18.rvre0.fc38.riscv64.rpm (info) (download)
Logs
riscv64
hw_info.log
state.log
build.log
root.log
mock_output.log
noarch_rpmdiff.json
Changelog * Sat Jun 24 2023 David Abdurachmanov <davidlt@rivosinc.com> 0.8.0.0-18.rvre0 - Rebuilt for Fedora/RISCV (riscv64); adding .rvreX to Release: * Thu Feb 16 2023 Jens Petersen <petersen@redhat.com> - 0.8.0.0-10 - refresh to cabal-rpm-2.1.0 with SPDX migration * Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jun 17 2022 Jens Petersen <petersen@redhat.com> - 0.8.0.0-8 - rebuild * Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Aug 06 2021 Jens Petersen <petersen@redhat.com> - 0.8.0.0-6 - rebuild * Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild