Did you know ...
Search Documentation:
Predicate http_parse_header/2
HOME
DOWNLOAD
SWI-Prolog
Sources/building
Docker images
Add-ons
Browse GIT
DOCUMENTATION
Manual
Packages
FAQ
Command line
PlDoc
Bluffers
▶
Prolog syntax
PceEmacs
HTML generation
License
Publications
Rev 7 Extensions
TUTORIALS
Beginner
▶
Getting started
Learn Prolog Now!
Simply Logical
Debugger
Development tools
Advanced
▶
Modules
Grammars (DCGs)
clp(fd)
Printing messages
PlDoc
Web applications
▶
Web applications
Let's Encrypt!
Pengines
Semantic web
▶
ClioPatria
RDF namespaces
Graphics
▶
XPCE
GUI options
Machine learning
▶
Probabilistic Logic Programming
External collections
▶
Meta level tutorials
For packagers
▶
Linux packages
COMMUNITY
IRC
Forum & mailing list
Blog
News
Report a bug
Submit a patch
Submit an add-on
Roadmap (on GitHub)
External links
Contributing
Code of Conduct
Contributors
SWI-Prolog items
COMMERCIAL
WIKI
Login
View changes
Sandbox
Wiki help
All tags
http
http
http_log.pl
http_header.pl -- Handling HTTP headers
serialize_reply/2
mime_type_encoding/2
http_address//0
status_page/3
http_read_request/2
http_read_reply_header/2
http_reply/2
http_reply/3
http_reply/4
http_reply/5
http_reply/6
http_status_reply/4
http_status_reply/5
http_status_reply/6
http_join_headers/3
http_update_encoding/3
http_update_connection/4
http_update_transfer/4
http_post_data/3
http_reply_header/3
http_parse_header_value/3
http_timestamp/2
http_read_header/2
http_parse_header/2
http_session.pl -- HTTP Session management
http_wrapper.pl -- Server processing of an HTTP request
http_stream.pl -- HTTP Streams
http_exception.pl -- Map Prolog exceptions to HTTP errors
http_unix_daemon.pl -- Run SWI-Prolog HTTP server as a Unix system daemon
thread_httpd.pl -- Threaded HTTP server
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_dyn_workers.pl -- Dynamically schedule HTTP workers.
http_parameters.pl -- Extract parameters (GET and POST) from HTTP requests
http_client.pl -- HTTP client library
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
mimetype.pl -- Determine mime-type for a file
html_head.pl -- Automatic inclusion of CSS and scripts links
http_server_files.pl -- Serve files needed by modules from the server
term_html.pl -- Represent Prolog terms as HTML
json.pl -- Reading and writing JSON serialization
http_open.pl -- HTTP client library
http_error.pl -- Decorate uncaught HTTP exceptions with stack-trace
http_dirindex.pl -- HTTP directory listings
http_files.pl -- Serve plain files from a hierarchy
http_cors.pl -- Enable CORS: Cross-Origin Resource Sharing
http_json.pl -- HTTP JSON Plugin module
js_write.pl -- Utilities for including JavaScript
js_grammar.pl -- JavaScript grammar
http_openid.pl -- OpenID consumer and server library
yadis.pl -- Yadis discovery
ax.pl -- Attribute Exchange library
http_authenticate.pl -- Authenticate HTTP connections using 401 headers
http_server_health.pl -- HTTP Server health statistics
graphql.pl -- GraphQL interface
htmx.pl -- Support htmx.org
http_cookie.pl -- HTTP client cookie handling
http_digest.pl -- HTTP Digest authentication
http_load.pl -- Load Prolog code from a web server
http_proxy.pl -- Use HTTP network proxies
http_pwp.pl -- Serve PWP pages through the HTTP server
http_redis_plugin.pl -- Hook session management to use Redis
http_server.pl -- HTTP server library
http_sgml_plugin.pl -- Parse of HTML and XML documents for the HTTP client libs
hub.pl -- Manage a hub for websockets
websocket.pl -- WebSocket support
json_convert.pl -- Convert between JSON terms and Prolog application terms
mimepack.pl -- Create a MIME message
http_parse_header
(+Text:codes, -Header:list)
is
det
Header
is a list of Name(Value)-terms representing the structure of the HTTP header in
Text
.
Errors
-
domain_error(http_request_line, Line)