• Places
    • Home
    • Graphs
    • Prefixes
  • Admin
    • Users
    • Settings
    • Plugins
    • Statistics
  • CPACK
    • Home
    • List packs
    • Submit pack
  • Repository
    • Load local file
    • Load from HTTP
    • Load from library
    • Remove triples
    • Clear repository
  • Query
    • YASGUI SPARQL Editor
    • Simple Form
    • SWISH Prolog shell
  • Help
    • Documentation
    • Tutorial
    • Roadmap
    • HTTP Services
  • Login

/usr/lib/swipl/library/ext/http/http/mimetype.pl
All Application Manual Name SummaryHelp

  • http
    • http
      • http_unix_daemon.pl
      • thread_httpd.pl
      • http_wrapper.pl
      • http_header.pl
      • http_stream.pl -- HTTP Streams
      • http_exception.pl
      • http_path.pl
      • http_dispatch.pl
      • http_host.pl
      • http_parameters.pl
      • http_client.pl
      • http_multipart_plugin.pl
      • http_hook.pl
      • html_write.pl
      • html_quasiquotations.pl
      • html_decl.pl
      • mimetype.pl -- Determine mime-type for a file
        • file_mime_type/2
        • file_content_type/2
        • file_content_type/3
        • mime_extension/2
        • charset/3
      • html_head.pl
      • http_server_files.pl
      • term_html.pl -- Represent Prolog terms as HTML
      • http_open.pl -- HTTP client library
      • http_session.pl
      • http_openid.pl -- OpenID consumer and server library
      • yadis.pl
      • ax.pl -- Attribute Exchange library
      • http_authenticate.pl
      • http_dirindex.pl -- HTTP directory listings
      • js_write.pl
      • http_cors.pl -- Enable CORS: Cross-Origin Resource Sharing
      • http_server.pl
      • http_dyn_workers.pl
      • http_server_health.pl
      • hub.pl
      • websocket.pl
      • http_log.pl
 mime:charset(+File, +MediaType, -Charset) is semidet[multifile, library(http/mimetype)]
Hook that determines the Charset for File that has media type MediaType. This hook allows overruling file_content_type/2.
See also
- text_mimetype/1.
ClioPatria (version V3.1.1-59-g7b9a7a3)