SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

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

Name : ghc-http-media
Version : 0.8.0.0 Vendor : Fedora Project
Release : 17.fc38 Date : 2023-02-16 20:19:20
Group : Unspecified Source RPM : ghc-http-media-0.8.0.0-17.fc38.src.rpm
Size : 0.30 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: /vol/rzm3/linux-fedora-buffet/linux/releases/38/Everything/x86_64/os/Packages/g

Content of RPM  Changelog  Provides Requires

Download
ftp.icm.edu.pl  ghc-http-media-0.8.0.0-17.fc38.x86_64.rpm
     

Provides :
ghc-http-media
ghc-http-media(x86-64)
libHShttp-media-0.8.0.0-8uRXh6lIVGRBZRuWr5xUZh-ghc9.2.6.so()(64bit)

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


Content of RPM :
/usr/lib/.build-id
/usr/lib/.build-id/f3
/usr/lib/.build-id/f3/ff82926b2b3bca096b46529bb512b2e048890e
/usr/lib64/ghc-9.2.6/lib/libHShttp-media-0.8.0.0-8uRXh6lIVGRBZRuWr5xUZh-ghc9.2.6.so
/usr/share/licenses/ghc-http-media
/usr/share/licenses/ghc-http-media/LICENSE

 
ICM