SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

ghc-http-media rpm build for : openSUSE Leap 15. For other distributions click ghc-http-media.

Name : ghc-http-media
Version : 0.7.1.2 Vendor : obs://build_opensuse_org/devel:languages:haskell
Release : lp150.2.3 Date : 2018-06-05 13:12:24
Group : Development/Libraries/Haskell Source RPM : ghc-http-media-0.7.1.2-lp150.2.3.src.rpm
Size : 0.25 MB
Packager : (none)
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/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/haskell:/lts:/next/openSUSE_Leap_15.0/x86_64

Content of RPM  Changelog  Provides Requires

Hmm ... It's impossible ;-) This RPM doesn't exist on any FTP server

Provides :
ghc-http-media
ghc-http-media(x86-64)
libHShttp-media-0.7.1.2-9FeABS7AtHKAahMsAKcGep-ghc8.4.3.so()(64bit)

Requires :
libHSarray-0.5.2.0-ghc8.4.3.so()(64bit)
libHSbase-4.11.1.0-ghc8.4.3.so()(64bit)
libHSbinary-0.8.5.1-ghc8.4.3.so()(64bit)
libHSbytestring-0.10.8.2-ghc8.4.3.so()(64bit)
libHScase-insensitive-1.2.0.11-LO6zJz9aRiEEtPUvQyaZDw-ghc8.4.3.so()(64bit)
libHScontainers-0.5.11.0-ghc8.4.3.so()(64bit)
libHSdeepseq-1.4.3.0-ghc8.4.3.so()(64bit)
libHSghc-prim-0.5.2.0-ghc8.4.3.so()(64bit)
libHShashable-1.2.7.0-8MkquYouWwiLIw3HmVGSkN-ghc8.4.3.so()(64bit)
libHSinteger-gmp-1.0.2.0-ghc8.4.3.so()(64bit)
libHStext-1.2.3.0-ghc8.4.3.so()(64bit)
libHSutf8-string-1.0.1.1-LRSjvSC6FZkKPp48Qszoj8-ghc8.4.3.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(PayloadIsXz) <= 5.2-1


Content of RPM :
/usr/lib64/ghc-8.4.3/http-media-0.7.1.2-9FeABS7AtHKAahMsAKcGep
/usr/lib64/ghc-8.4.3/http-media-0.7.1.2-9FeABS7AtHKAahMsAKcGep/libHShttp-media-0.7.1.2-9FeABS7AtHKAahMsAKcGep-ghc8.4.3.so
/usr/share/licenses/ghc-http-media
/usr/share/licenses/ghc-http-media/LICENSE

 
ICM