Sat, 24 Jan 2026 21:18:40 CST | login

Information for RPM ghc-http-media-0.8.0.0-1.ocs23.x86_64.rpm

ID149656
Nameghc-http-media
Version0.8.0.0
Release1.ocs23
Epoch
Archx86_64
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.
Build Time2024-08-09 02:37:50 GMT
Size58.97 KB
53b4975cf28b7dad5bc6c5269d4ec5e6
LicenseMIT
Buildrootdist-ocs23-epol9-build-230202-18048
Provides
ghc-http-media = 0.8.0.0-1.ocs23
ghc-http-media(x86-64) = 0.8.0.0-1.ocs23
libHShttp-media-0.8.0.0-2t7LizYMGYffdXZ0A5MgY-ghc9.4.5.so()(64bit)
Obsoletes No Obsoletes
Conflicts No Conflicts
Requires
libHSarray-0.5.4.0-ghc9.4.5.so()(64bit)
libHSbase-4.17.1.0-ghc9.4.5.so()(64bit)
libHSbinary-0.8.9.1-ghc9.4.5.so()(64bit)
libHSbytestring-0.11.4.0-ghc9.4.5.so()(64bit)
libHScase-insensitive-1.2.1.0-AumZoR4Lds63HJj8OQwHY3-ghc9.4.5.so()(64bit)
libHScontainers-0.6.7-ghc9.4.5.so()(64bit)
libHSdeepseq-1.4.8.0-ghc9.4.5.so()(64bit)
libHSfilepath-1.4.2.2-ghc9.4.5.so()(64bit)
libHSghc-bignum-1.3-ghc9.4.5.so()(64bit)
libHSghc-boot-th-9.4.5-ghc9.4.5.so()(64bit)
libHSghc-prim-0.9.0-ghc9.4.5.so()(64bit)
libHShashable-1.4.2.0-FFBRhuY0w4YLmuLEs5uQAt-ghc9.4.5.so()(64bit)
libHSpretty-1.1.3.6-ghc9.4.5.so()(64bit)
libHStemplate-haskell-2.19.0.0-ghc9.4.5.so()(64bit)
libHStext-2.0.2-ghc9.4.5.so()(64bit)
libHSutf8-string-1.0.2-H5J3QXynvqU96sNfi3QV7u-ghc9.4.5.so()(64bit)
libc.so.6()(64bit)
libc.so.6(GLIBC_2.14)(64bit)
libc.so.6(GLIBC_2.2.5)(64bit)
libgmp.so.10()(64bit)
libm.so.6()(64bit)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1
rtld(GNU_HASH)
Recommends No Recommends
Suggests No Suggests
Supplements No Supplements
Enhances No Enhances
Files
1 through 6 of 6
Name ascending sort Size
/usr/lib/.build-id0.00 B
/usr/lib/.build-id/970.00 B
/usr/lib/.build-id/97/7ba0b1e64d4e373d6abc90cf7bbe53e347542a93.00 B
/usr/lib64/ghc-9.4.5/lib/libHShttp-media-0.8.0.0-2t7LizYMGYffdXZ0A5MgY-ghc9.4.5.so297.34 KB
/usr/share/licenses/ghc-http-media0.00 B
/usr/share/licenses/ghc-http-media/LICENSE1.04 KB
Component of No Buildroots