This file is indexed.

/var/lib/ghc/package.conf.d/http-media-0.6.4.conf is in libghc-http-media-dev 0.6.4-3+b1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: http-media
version: 0.6.4
id: http-media-0.6.4-82jDVCpdN5H696EFF5l5I4
key: http-media-0.6.4-82jDVCpdN5H696EFF5l5I4
license: MIT
copyright: (c) 2012-2016 Timothy Jones
maintainer: Timothy Jones <tim@zmthy.net>
homepage: https://github.com/zmthy/http-media
synopsis: 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.
category: Web
author: Timothy Jones
exposed: True
exposed-modules:
    Network.HTTP.Media Network.HTTP.Media.Accept
    Network.HTTP.Media.Language Network.HTTP.Media.MediaType
    Network.HTTP.Media.RenderHeader
hidden-modules: Network.HTTP.Media.Language.Internal
                Network.HTTP.Media.MediaType.Internal Network.HTTP.Media.Quality
                Network.HTTP.Media.Utils
abi: 2d146df2d38b00159020a62260c2cf27
trusted: False
import-dirs: /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-8.0.1/http-media-0.6.4-82jDVCpdN5H696EFF5l5I4
library-dirs: /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-8.0.1/http-media-0.6.4-82jDVCpdN5H696EFF5l5I4
data-dir: /usr/share/http-media
hs-libraries: HShttp-media-0.6.4-82jDVCpdN5H696EFF5l5I4
depends:
    base-4.9.0.0 bytestring-0.10.8.1
    case-insensitive-1.2.0.7-FlqweN7AuKj9EdU2arVEt4 containers-0.5.7.1
haddock-interfaces: /usr/lib/ghc-doc/haddock/http-media-0.6.4/http-media.haddock
haddock-html: /usr/share/doc/libghc-http-media-doc/html/