Sun, 10 May 2026 09:48:12 CST | login

Information for RPM ghc-http-media-0.8.1.1-1.oc9.loongarch64.rpm

ID421006
Buildghc-http-media-0.8.1.1-1.oc9
Nameghc-http-media
Version0.8.1.1
Release1.oc9
Epoch
Archloongarch64
DraftFalse
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 Time2025-10-10 16:37:54 GMT
Size57.43 KB
e163a19d600451b29af8aad848589878
LicenseMIT
Buildrootdist-oc9-epol-build-215724-80889
Provides
ghc-http-media = 0.8.1.1-1.oc9
ghc-http-media(loongarch-64) = 0.8.1.1-1.oc9
libHShttp-media-0.8.1.1-2De5l6MUOeq641eHebiFKI-ghc9.8.4.so()(64bit)
Obsoletes No Obsoletes
Conflicts No Conflicts
Requires
libHSarray-0.5.8.0-inplace-ghc9.8.4.so()(64bit)
libHSbase-4.19.2.0-inplace-ghc9.8.4.so()(64bit)
libHSbinary-0.8.9.1-inplace-ghc9.8.4.so()(64bit)
libHSbytestring-0.12.1.0-inplace-ghc9.8.4.so()(64bit)
libHScase-insensitive-1.2.1.0-JXvLRuYV3cJ7QLkizP3jMu-ghc9.8.4.so()(64bit)
libHScontainers-0.6.8-inplace-ghc9.8.4.so()(64bit)
libHSdeepseq-1.5.1.0-inplace-ghc9.8.4.so()(64bit)
libHSexceptions-0.10.7-inplace-ghc9.8.4.so()(64bit)
libHSfilepath-1.4.301.0-inplace-ghc9.8.4.so()(64bit)
libHSghc-bignum-1.3-inplace-ghc9.8.4.so()(64bit)
libHSghc-boot-th-9.8.4-inplace-ghc9.8.4.so()(64bit)
libHSghc-prim-0.11.0-inplace-ghc9.8.4.so()(64bit)
libHShashable-1.4.4.0-BMEQ5bhuWYr4FnonwbFljS-ghc9.8.4.so()(64bit)
libHSmtl-2.3.1-inplace-ghc9.8.4.so()(64bit)
libHSos-string-2.0.6-ETmawyQtdQU57HIYNyn5ca-ghc9.8.4.so()(64bit)
libHSpretty-1.1.3.6-inplace-ghc9.8.4.so()(64bit)
libHSstm-2.5.3.1-inplace-ghc9.8.4.so()(64bit)
libHStemplate-haskell-2.21.0.0-inplace-ghc9.8.4.so()(64bit)
libHStext-2.1.1-inplace-ghc9.8.4.so()(64bit)
libHStransformers-0.6.1.0-inplace-ghc9.8.4.so()(64bit)
libHSutf8-string-1.0.2-D7XWYrfzGoz8GcK2VpWPtY-ghc9.8.4.so()(64bit)
libc.so.6()(64bit)
libc.so.6(GLIBC_2.36)(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/6f0.00 B
/usr/lib/.build-id/6f/6d24c7b8bf15cb957b1d004aed50776e8d3bf094.00 B
/usr/lib64/ghc-9.8.4/lib/libHShttp-media-0.8.1.1-2De5l6MUOeq641eHebiFKI-ghc9.8.4.so400.79 KB
/usr/share/licenses/ghc-http-media0.00 B
/usr/share/licenses/ghc-http-media/LICENSE1.04 KB
Component of No Buildroots