SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

ghc-http-media rpm build for : Fedora 31. For other distributions click ghc-http-media.

Name : ghc-http-media
Version : 0.7.1.3 Vendor : Fedora Project
Release : 3.fc31 Date : 2019-08-06 07:49:15
Group : Unspecified Source RPM : ghc-http-media-0.7.1.3-3.fc31.src.rpm
Size : 0.24 MB
Packager : Fedora Project
Summary : Processing HTTP Content-Type and Accept headers
Description :
This 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.

RPM found in directory: /packages/linux-pbone/archive.fedoraproject.org/fedora/linux/releases/31/Everything/x86_64/os/Packages/g

Content of RPM  Changelog  Provides Requires

Download
ftp.icm.edu.pl  ghc-http-media-0.7.1.3-3.fc31.x86_64.rpm
     

Provides :
ghc-http-media
ghc-http-media(x86-64)
libHShttp-media-0.7.1.3-KopfySt1Ui92HdOSpFHWsR-ghc8.6.5.so()(64bit)

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.14)(64bit)
libc.so.6(GLIBC_2.2.5)(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)


Content of RPM :
/usr/lib/.build-id
/usr/lib/.build-id/b4
/usr/lib/.build-id/b4/a83fc4d9379e07f416e34baccfae3c2f1373ba
/usr/lib64/libHShttp-media-0.7.1.3-KopfySt1Ui92HdOSpFHWsR-ghc8.6.5.so
/usr/share/licenses/ghc-http-media
/usr/share/licenses/ghc-http-media/LICENSE

 
ICM