List extension packs
/home/mlunife/.local/share/swi-prolog/pack/bddem/prolog
/home/mlunife/.local/share/swi-prolog/pack/trill/prolog
/home/mlunife/trill-on-swish
/home/mlunife/trill-on-swish/config-enabled
/home/mlunife/trill-on-swish/lib
/home/mlunife/trill-on-swish/lib/render
/home/mlunife/trill-on-swish/pack/profile/prolog
/usr/local/lib/swipl
/usr/local/lib/swipl/boot
/usr/local/lib/swipl/library
/usr/local/lib/swipl/library/clp
/usr/local/lib/swipl/library/dcg
/usr/local/lib/swipl/library/dialect
/usr/local/lib/swipl/library/dialect/swi
/usr/local/lib/swipl/library/ext/RDF
/usr/local/lib/swipl/library/ext/archive
/usr/local/lib/swipl/library/ext/bdb
/usr/local/lib/swipl/library/ext/chr
/usr/local/lib/swipl/library/ext/chr/chr
/usr/local/lib/swipl/library/ext/clib
/usr/local/lib/swipl/library/ext/clpqr
/usr/local/lib/swipl/library/ext/clpqr/clpq
/usr/local/lib/swipl/library/ext/clpqr/clpqr
/usr/local/lib/swipl/library/ext/clpqr/clpr
/usr/local/lib/swipl/library/ext/http/http
/usr/local/lib/swipl/library/ext/jpl
/usr/local/lib/swipl/library/ext/libedit
/usr/local/lib/swipl/library/ext/mqi
/usr/local/lib/swipl/library/ext/nlp
/usr/local/lib/swipl/library/ext/odbc
/usr/local/lib/swipl/library/ext/paxos
/usr/local/lib/swipl/library/ext/pcre
/usr/local/lib/swipl/library/ext/pengines
/usr/local/lib/swipl/library/ext/pldoc
/usr/local/lib/swipl/library/ext/pldoc/pldoc
/usr/local/lib/swipl/library/ext/plunit
/usr/local/lib/swipl/library/ext/protobufs
/usr/local/lib/swipl/library/ext/readline
/usr/local/lib/swipl/library/ext/redis
/usr/local/lib/swipl/library/ext/semweb/semweb
/usr/local/lib/swipl/library/ext/sgml
/usr/local/lib/swipl/library/ext/ssl
/usr/local/lib/swipl/library/ext/ssl/http
/usr/local/lib/swipl/library/ext/stomp
/usr/local/lib/swipl/library/ext/swipy
/usr/local/lib/swipl/library/ext/table
/usr/local/lib/swipl/library/ext/utf8proc
/usr/local/lib/swipl/library/ext/zlib
/usr/local/lib/swipl/library/http
/usr/local/lib/swipl/library/lynx
/usr/local/lib/swipl/xpce/prolog/boot
/usr/local/lib/swipl/xpce/prolog/lib
/usr/local/lib/swipl/xpce/prolog/lib/english
/usr/local/lib/swipl/xpce/prolog/lib/man
/usr/local/lib/swipl/xpce/prolog/lib/swi
/usr/local/lib/swipl/library/ext/http/http/mimetype.pl
All
Application
Manual
Name
Summary
Help
http
http
http_unix_daemon.pl -- Run SWI-Prolog HTTP server as a Unix system daemon
thread_httpd.pl
http_wrapper.pl -- Server processing of an HTTP request
http_header.pl
http_stream.pl
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_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
http_cors.pl -- Enable CORS: Cross-Origin Resource Sharing
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 -- Automatic inclusion of CSS and scripts links
term_html.pl -- Represent Prolog terms as HTML
http_dyn_workers.pl -- Dynamically schedule HTTP workers.
json_convert.pl -- Convert between JSON terms and Prolog application terms
mimepack.pl -- Create a MIME message
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.