Mon, 16 Dec 2024 12:39:30 UTC | login

Information for RPM ghc-http-media-0.8.0.0-17.fc38.riscv64.rpm

ID951330
Nameghc-http-media
Version0.8.0.0
Release17.fc38
Epoch
Archriscv64
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 Time2023-03-07 13:04:49 GMT
Size101.19 KB
bbb32873ecc4691dc7c18ddcb1495adb
LicenseMIT
Buildrootf38-build-690613-82709
Provides
ghc-http-media = 0.8.0.0-17.fc38
ghc-http-media(riscv-64) = 0.8.0.0-17.fc38
libHShttp-media-0.8.0.0-8uRXh6lIVGRBZRuWr5xUZh-ghc9.2.6.so()(64bit)
Obsoletes No Obsoletes
Conflicts No Conflicts
Requires
libHSarray-0.5.4.0-ghc9.2.6.so()(64bit)
libHSbase-4.16.4.0-ghc9.2.6.so()(64bit)
libHSbinary-0.8.9.0-ghc9.2.6.so()(64bit)
libHSbytestring-0.11.4.0-ghc9.2.6.so()(64bit)
libHScase-insensitive-1.2.1.0-JapAXB5q4LsA6EoSWMfwzZ-ghc9.2.6.so()(64bit)
libHScontainers-0.6.5.1-ghc9.2.6.so()(64bit)
libHSdata-array-byte-0.1.0.1-F1wKB6232C455YIiBqRzC9-ghc9.2.6.so()(64bit)
libHSdeepseq-1.4.6.1-ghc9.2.6.so()(64bit)
libHSfilepath-1.4.2.2-ghc9.2.6.so()(64bit)
libHSghc-bignum-1.2-ghc9.2.6.so()(64bit)
libHSghc-boot-th-9.2.6-ghc9.2.6.so()(64bit)
libHSghc-prim-0.8.0-ghc9.2.6.so()(64bit)
libHShashable-1.4.2.0-bb0OMd9p4SJnX9qKDXlHL-ghc9.2.6.so()(64bit)
libHSpretty-1.1.3.6-ghc9.2.6.so()(64bit)
libHStemplate-haskell-2.18.0.0-ghc9.2.6.so()(64bit)
libHStext-1.2.5.0-ghc9.2.6.so()(64bit)
libHSutf8-string-1.0.2-Hm2vHl4bWSX1OP32Q8P6r9-ghc9.2.6.so()(64bit)
libc.so.6()(64bit)
libc.so.6(GLIBC_2.27)(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(PayloadIsZstd) <= 5.4.18-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/850.00 B
/usr/lib/.build-id/85/e2ce720e051adbd95857a29731a551b8afa14f94.00 B
/usr/lib64/ghc-9.2.6/lib/libHShttp-media-0.8.0.0-8uRXh6lIVGRBZRuWr5xUZh-ghc9.2.6.so585.52 KB
/usr/share/licenses/ghc-http-media0.00 B
/usr/share/licenses/ghc-http-media/LICENSE1.04 KB
Component of No Buildroots