SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

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

Name : ghc-http-media
Version : 0.7.1.3 Vendor : Fedora Project
Release : 1.fc30 Date : 2019-02-28 06:58:24
Group : Unspecified Source RPM : ghc-http-media-0.7.1.3-1.fc30.src.rpm
Size : 0.36 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/updates/testing/30/Everything/x86_64/Packages/g

Content of RPM  Changelog  Provides Requires

Download
ftp.icm.edu.pl  ghc-http-media-0.7.1.3-1.fc30.x86_64.rpm
ftp.icm.edu.pl  ghc-http-media-0.7.1.3-1.fc30.x86_64.rpm
     

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

Requires :
libHSbase-4.11.1.0-ghc8.4.4.so()(64bit)
libHSbytestring-0.10.8.2-ghc8.4.4.so()(64bit)
libHScase-insensitive-1.2.0.11-CPrTOvzDNbeGLOzZAUTjaA-ghc8.4.4.so()(64bit)
libHScontainers-0.5.11.0-ghc8.4.4.so()(64bit)
libHSghc-prim-0.5.2.0-ghc8.4.4.so()(64bit)
libHSutf8-string-1.0.1.1-LRSjvSC6FZkKPp48Qszoj8-ghc8.4.4.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(PayloadIsXz) <= 5.2-1
rtld(GNU_HASH)


Content of RPM :
/usr/lib/.build-id
/usr/lib/.build-id/de
/usr/lib/.build-id/de/b443fe52de18fd18a17b30f23001478c27a48f
/usr/lib64/libHShttp-media-0.7.1.3-L4FE0AjpcbA3wt5heExQ0D-ghc8.4.4.so
/usr/share/licenses/ghc-http-media
/usr/share/licenses/ghc-http-media/LICENSE

 
ICM