Mon, 16 Dec 2024 05:59:38 UTC | login

Information for RPM ghc-http-media-0.8.0.0-3.fc33.riscv64.rpm

ID667035
Nameghc-http-media
Version0.8.0.0
Release3.fc33
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 Time2020-08-13 12:48:46 GMT
Size125.08 KB
fc2f226ca8608486301d7f441f69157b
LicenseMIT
Buildrootf33-build-288002-53950
Provides
ghc-http-media = 0.8.0.0-3.fc33
ghc-http-media(riscv-64) = 0.8.0.0-3.fc33
libHShttp-media-0.8.0.0-HChWXmCSAHH1KDtgXD7eTq-ghc8.6.5.so()(64bit)
Obsoletes No Obsoletes
Conflicts No Conflicts
Requires
libHSbase-4.12.0.0-ghc8.6.5.so()(64bit)
libHSbytestring-0.10.8.2-ghc8.6.5.so()(64bit)
libHScase-insensitive-1.2.1.0-93aqIeOcEDHBDVOPpaZazg-ghc8.6.5.so()(64bit)
libHScontainers-0.6.0.1-ghc8.6.5.so()(64bit)
libHSghc-prim-0.5.3-ghc8.6.5.so()(64bit)
libHSutf8-string-1.0.1.1-Geq8jdOv4Q3LkcQoEOWDVv-ghc8.6.5.so()(64bit)
libc.so.6()(64bit)
libc.so.6(GLIBC_2.27)(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/d40.00 B
/usr/lib/.build-id/d4/50df9560aed1361418e5525dcdc41239377b4a80.00 B
/usr/lib64/libHShttp-media-0.8.0.0-HChWXmCSAHH1KDtgXD7eTq-ghc8.6.5.so818.77 KB
/usr/share/licenses/ghc-http-media0.00 B
/usr/share/licenses/ghc-http-media/LICENSE1.04 KB
Component of No Buildroots