List extension packs
/app
/app/spacy
/app/swish
/app/tokenize/prolog
/data/config-enabled
/swish
/swish/lib
/swish/lib/plugin
/swish/lib/render
/swish/pack/profile/prolog
/swish/pack/profile/prolog/profile/backend
/swish/pack/rserve_client/prolog/r
/swish/pack/sCASP/prolog
/swish/pack/sCASP/prolog/scasp
/swish/pack/sCASP/prolog/scasp/clp
/swish/pack/sCASP/prolog/scasp/lang
/usr/lib/swipl/boot
/usr/lib/swipl/library
/usr/lib/swipl/library/chr
/usr/lib/swipl/library/clp
/usr/lib/swipl/library/clp/clpq
/usr/lib/swipl/library/clp/clpqr
/usr/lib/swipl/library/clp/clpr
/usr/lib/swipl/library/dcg
/usr/lib/swipl/library/dialect
/usr/lib/swipl/library/dialect/swi
/usr/lib/swipl/library/http
/usr/lib/swipl/library/lynx
/usr/lib/swipl/library/pldoc
/usr/lib/swipl/library/semweb
pengine://0a5a7298-1be4-4740-8601-566ad8feb09c
pengine://0b183a0c-4c67-4eb6-8f7e-86c87e624c0a
pengine://460b3eeb-0fc7-45a8-bb24-c8f7c634a108
pengine://4b374919-a5df-45a1-80e4-7006d2d64ad9
pengine://591f1f13-8854-4df8-a29c-6881d8b7e912
pengine://7274d9da-60a6-479e-bc18-57db8a99159e
pengine://9445ced7-e637-4816-a3e6-e54263587be3
pengine://95e5359a-7b57-45d8-9365-fd8328a6f146
pengine://98b22f2c-2b0a-4dbb-aa82-a294605b21ec
pengine://e112d2f2-7284-465e-b724-440d778a0d69
/usr/lib/swipl/library/http/mimetype.pl
All
Application
Manual
Name
Summary
Help
library
http
http_unix_daemon.pl -- Run SWI-Prolog HTTP server as a Unix system daemon
thread_httpd.pl -- Threaded HTTP server
http_wrapper.pl -- Server processing of an HTTP request
http_header.pl -- Handling HTTP headers
http_stream.pl -- HTTP Streams
http_exception.pl -- Map Prolog exceptions to HTTP errors
http_path.pl -- Abstract specification of HTTP server locations
http_dispatch.pl -- Dispatch requests in the HTTP server
http_host.pl -- Obtain public server location
http_ssl_plugin.pl -- SSL plugin for HTTP libraries
http_json.pl -- HTTP JSON Plugin module
http_client.pl -- HTTP client library
json.pl -- Reading and writing JSON serialization
http_open.pl -- HTTP client library
http_parameters.pl -- Extract parameters (GET and POST) from HTTP requests
http_multipart_plugin.pl -- Multipart form-data plugin
http_hook.pl -- HTTP library hooks
html_write.pl -- Write HTML text
html_quasiquotations.pl -- HTML quasi quotations
js_write.pl -- Utilities for including JavaScript
js_grammar.pl -- JavaScript grammar
http_server_files.pl -- Serve files needed by modules from the server
hub.pl -- Manage a hub for websockets
websocket.pl -- WebSocket support
http_session.pl -- HTTP Session management
mimetype.pl -- Determine mime-type for a file
mime_extension/2
charset/3
file_mime_type/2
file_content_type/2
file_content_type/3
http_cors.pl -- Enable CORS: Cross-Origin Resource Sharing
html_head.pl -- Automatic inclusion of CSS and scripts links
jquery.pl -- Provide JQuery
term_html.pl -- Represent Prolog terms as HTML
http_dyn_workers.pl -- Dynamically schedule HTTP workers.
http_files.pl -- Serve plain files from a hierarchy
http_dirindex.pl -- HTTP directory listings
mimepack.pl -- Create a MIME message
json_convert.pl -- Convert between JSON terms and Prolog application terms
file_mime_type
(+FileName, -MimeType)
is
semidet
True when
MimeType
is the mime-type to be used for sending
FileName
. The default rules can be overridden and extended using the hook
mime
:mime_extension/2
.
Arguments:
MimeType
- is a compound term of the form Type/SubType.