Mon, 16 Dec 2024 12:55:09 UTC | login

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

ID594561
Nameghc-http-media
Version0.8.0.0
Release1.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-04-19 18:52:24 GMT
Size124.51 KB
e8194f46f9988aa06d8058d220087714
LicenseMIT
Buildrootf33-build-186593-45810
Provides
ghc-http-media = 0.8.0.0-1.fc33
ghc-http-media(riscv-64) = 0.8.0.0-1.fc33
libHShttp-media-0.8.0.0-7c2LQl635qZ9p5Vu1dPBdO-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.0.11-GGYU9CY9cs88wywgwHVKC6-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/740.00 B
/usr/lib/.build-id/74/7554bacc632d0dd9d9dc6eeb89e0110d6f2de180.00 B
/usr/lib64/libHShttp-media-0.8.0.0-7c2LQl635qZ9p5Vu1dPBdO-ghc8.6.5.so822.77 KB
/usr/share/licenses/ghc-http-media0.00 B
/usr/share/licenses/ghc-http-media/LICENSE1.04 KB
Component of
1 through 6 of 6
Buildroot descending sort Created State
f33-build-189884-46187 2020-04-23 02:44:23 expired
f33-build-189798-46175 2020-04-22 14:49:55 expired
f33-build-189621-46129 2020-04-22 03:38:19 expired
f33-build-189421-46107 2020-04-21 18:30:53 expired
f33-build-189318-46099 2020-04-21 16:10:32 expired
f33-build-189196-46077 2020-04-21 13:15:07 expired