Packages / openSUSE Tumbleweed / Unspecified / ghc-http-media

Package: ghc-http-media (0.8.1.1-3.15)

Processing HTTP Content-Type and Accept headers

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.

Other Packages Related to ghc-http-media:

  • dep: libHSarray-0.5.8.0-6d05-ghc9.12.4.so()(64bit)

    Package not available

  • dep: libHSbase-4.21.2.0-baed-ghc9.12.4.so()(64bit)

    Package not available

  • dep: libHSbinary-0.8.9.3-52ce-ghc9.12.4.so()(64bit)

    Package not available

  • dep: libHSbytestring-0.12.2.0-4850-ghc9.12.4.so()(64bit)

    Package not available

  • dep: libHScase-insensitive-1.2.1.0-KUG6lioL8TkJjPKWIWj0Ow-ghc9.12.4.so()(64bit)

    Package not available

  • dep: libHScontainers-0.7-758a-ghc9.12.4.so()(64bit)

    Package not available

  • dep: libHSdeepseq-1.5.1.0-4452-ghc9.12.4.so()(64bit)

    Package not available

  • dep: libHSexceptions-0.10.12-e089-ghc9.12.4.so()(64bit)

    Package not available

  • dep: libHSfilepath-1.5.5.0-7c46-ghc9.12.4.so()(64bit)

    Package not available

  • dep: libHSghc-bignum-1.3-9f74-ghc9.12.4.so()(64bit)

    Package not available

  • dep: libHSghc-boot-th-9.12.4-cd4a-ghc9.12.4.so()(64bit)

    Package not available

  • dep: libHSghc-internal-9.1204.0-6f14-ghc9.12.4.so()(64bit)

    Package not available

  • dep: libHSghc-prim-0.13.0-99c1-ghc9.12.4.so()(64bit)

    Package not available

  • dep: libHShashable-1.5.1.0-2x61K82cxFKVwhZioGUOe-ghc9.12.4.so()(64bit)

    Package not available

  • dep: libHSmtl-2.3.2-a222-ghc9.12.4.so()(64bit)

    Package not available

  • dep: libHSos-string-2.0.10-d548-ghc9.12.4.so()(64bit)

    Package not available

  • dep: libHSpretty-1.1.3.6-9c04-ghc9.12.4.so()(64bit)

    Package not available

  • dep: libHSstm-2.5.3.1-8670-ghc9.12.4.so()(64bit)

    Package not available

  • dep: libHStemplate-haskell-2.23.0.0-5865-ghc9.12.4.so()(64bit)

    Package not available

  • dep: libHStext-2.1.4-1187-ghc9.12.4.so()(64bit)

    Package not available

  • dep: libHStransformers-0.6.3.0-7d93-ghc9.12.4.so()(64bit)

    Package not available

  • dep: libHSutf8-string-1.0.2-4IUdCp9nJz7KxJxxkqWXee-ghc9.12.4.so()(64bit)

    Package not available

  • dep: libgmp.so.10()(64bit)

    Package not available

  • dep: libm.so.6()(64bit)

    Package not available

  • dep: libc.so.6(GLIBC_2.14)(64bit)

    Package not available

Download ghc-http-media

ArchitecturePackage sizeInstalled sizeFilesPackage
x86_6462 KiB290 KiBlist of filesDownload

Package file paths (3)

Paths come from the repository package-file index for the observed builds. They describe archive/package associations, not every file that will exist on a running system after maintainer scripts, alternatives, generated state, diversions, or installation choices.

  • /usr/lib64/ghc-9.12.4/lib/libHShttp-media-0.8.1.1-3KC2M0tn5mIEx3EgRCLYdb-ghc9.12.4.so
  • /usr/share/licenses/ghc-http-media
  • /usr/share/licenses/ghc-http-media/LICENSE

Field source: openSUSE Tumbleweed OSS

Versions, suites, and repositories

Each row is recorded package-index metadata for one version, architecture, suite, and repository. Names, URLs, and sizes are source-reported; a link is a potentially mutable retrieval location, not an OpenFactory redistribution claim or proof that OpenFactory retained the artifact bytes.

VersionReleaseArchitectureRepositoryPackage sizeInstalled sizePublisher repository artifact
0.8.1.1-3.15tumbleweed / ossx86_64openSUSE Tumbleweed · OSS · multi-architecture62 KiB290 KiBx86_64/ghc-http-media-0.8.1.1-3.15.x86_64.rpm

Field source: openSUSE Tumbleweed OSS

Known vulnerabilities

No matching advisories in the tracked sources.

Last synced:

[CVE catalog]

Checksums

Repository signatures authenticate metadata. Artifact hashing is recorded separately. Neither establishes package safety.

0.8.1.1-3.15 / x86_64Observed Sep 1, 2026sha512 990bedc121b7…41f646ebSource-reported digest

Metadata observed; artifact bytes were not independently fetched or hashed by this catalog import. The digest below is source-reported.

Source-reported digest (sha512): 990bedc121b7164971eb64e02e6373ae6c6d5acfde8a149fe5cef04a0331d76a26c2d7f372fe4d0cf8046a48a80fc454280c4328ac3675e8a692313f41f646eb

Field source: openSUSE Tumbleweed OSS

Sources

  • Authoritative source; repository metadata signature verified

    Signature evidence

    tumbleweed-oss-multiarch:4db10cdde3ad82c7e22be35753c9e164b4bdd30f92db4aee17a0d4c94c5f902f

    Repository-signature verification record
    Signed-object SHA-256
    4db10cdde3ad82c7e22be35753c9e164b4bdd30f92db4aee17a0d4c94c5f902f
    Signer fingerprint
    AD485664E901B867051AB15F35A2F86E29B700A4
    Keyring revision
    opensuse-project-signing-key.asc
    SHA-256 b5745739ebfb95b25b8e810f9bcb847fe750ccda598bd85f02f0e974599a6d7e
    Tool and policy
    gpgv (GnuPG) 2.4.9
    openfactory-software-catalog-signature-v1
    Verification time
    Sep 1, 2026
    Repository metadata hash linkage
    Result
    Recorded as verified; digest details unavailable