Mon, 21 Oct 2019 21:48:31 UTC

Information for build ghc-http-media-0.7.1.3-1.fc30

ID1217346
Package Nameghc-http-media
Version0.7.1.3
Release1.fc30
Epoch
Sourcegit+https://src.fedoraproject.org/rpms/ghc-http-media.git#0d387ee1fc776bfd68ac2c9077232d5fd87b1dd6
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 bypetersen
State complete
Volume DEFAULT
StartedThu, 28 Feb 2019 05:57:08 UTC
CompletedThu, 28 Feb 2019 06:02:53 UTC
Taskbuild (f30-ghc, /rpms/ghc-http-media.git:0d387ee1fc776bfd68ac2c9077232d5fd87b1dd6)
Extra{'source': {'original_url': 'git+https://src.fedoraproject.org/rpms/ghc-http-media.git#0d387ee1fc776bfd68ac2c9077232d5fd87b1dd6'}}
Tags
f30
f30-ghc
f30-updates-testing
f31
RPMs
src
ghc-http-media-0.7.1.3-1.fc30.src.rpm (info) (download)
aarch64
ghc-http-media-0.7.1.3-1.fc30.aarch64.rpm (info) (download)
ghc-http-media-devel-0.7.1.3-1.fc30.aarch64.rpm (info) (download)
armv7hl
ghc-http-media-0.7.1.3-1.fc30.armv7hl.rpm (info) (download)
ghc-http-media-devel-0.7.1.3-1.fc30.armv7hl.rpm (info) (download)
i686
ghc-http-media-0.7.1.3-1.fc30.i686.rpm (info) (download)
ghc-http-media-devel-0.7.1.3-1.fc30.i686.rpm (info) (download)
ppc64le
ghc-http-media-0.7.1.3-1.fc30.ppc64le.rpm (info) (download)
ghc-http-media-devel-0.7.1.3-1.fc30.ppc64le.rpm (info) (download)
s390x
ghc-http-media-0.7.1.3-1.fc30.s390x.rpm (info) (download)
ghc-http-media-devel-0.7.1.3-1.fc30.s390x.rpm (info) (download)
x86_64
ghc-http-media-0.7.1.3-1.fc30.x86_64.rpm (info) (download)
ghc-http-media-devel-0.7.1.3-1.fc30.x86_64.rpm (info) (download)
Logs
x86_64
hw_info.log
state.log
build.log
root.log
mock_output.log
ppc64le
state.log
root.log
build.log
hw_info.log
mock_output.log
aarch64
hw_info.log
build.log
root.log
state.log
mock_output.log
i686
build.log
hw_info.log
state.log
root.log
mock_output.log
s390x
hw_info.log
state.log
build.log
root.log
mock_output.log
armv7hl
hw_info.log
state.log
build.log
root.log
mock_output.log
Changelog * Thu Feb 21 2019 Jens Petersen <petersen@redhat.com> - 0.7.1.3-1 - update to 0.7.1.3 * Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 0.7.1.2-3 - refresh to cabal-rpm-0.13 * Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sun Jul 22 2018 Jens Petersen <petersen@redhat.com> - 0.7.1.2-1 - update to 0.7.1.2 * Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Fri Jan 26 2018 Jens Petersen <petersen@redhat.com> - 0.7.1.1-2 - rebuild * Fri Sep 29 2017 Fedora Haskell SIG <haskell@lists.fedoraproject.org> - 0.7.1.1-1 - spec file generated by cabal-rpm-0.11.2