- http
- http
- http_unix_daemon.pl
- thread_httpd.pl
- http_wrapper.pl -- Server processing of an HTTP request
- http_header.pl -- Handling HTTP headers
- http_stream.pl -- HTTP Streams
- encoding_filter/3
- current_transfer_encoding/1
- http_read_line/3
- http_read_header_line/2
- http_chunked_open/3
- http_is_chunked/1
- http_chunked_flush/2
- http_chunked_add_trailer/3
- stream_range_open/3
- multipart_open/3
- multipart_open_next/1
- cgi_open/4
- cgi_property/2
- cgi_set/2
- cgi_discard/1
- is_cgi_stream/1
- cgi_statistics/1
- http_exception.pl
- http_path.pl -- Abstract specification of HTTP server locations
- 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 quasi quotations
- html_decl.pl
- mimetype.pl
- html_head.pl -- Automatic inclusion of CSS and scripts links
- http_server_files.pl
- term_html.pl
- http_open.pl
- http_session.pl -- HTTP Session management
- http_openid.pl
- yadis.pl -- Yadis discovery
- ax.pl
- http_authenticate.pl
- http_dirindex.pl
- js_write.pl
- http_cors.pl
- http_server.pl -- HTTP server library
- http_dyn_workers.pl
- http_server_health.pl
- hub.pl
- websocket.pl
- http_log.pl
- mimepack.pl -- Create a MIME message
- http
- multipart_open(+Stream, -DataStream, +Options) is det
- DataStream is a stream that signals
end_of_fileif the multipart boundary is encountered. The stream can be reset to read the next part using multipart_open_next/1. Options:- close_parent(+Boolean)
- Close Stream if DataStream is closed.
- boundary(+Text)
- Define the boundary string. Text is an atom, string, code or character list.
All parts of a multipart input can be read using the following skeleton:
process_multipart(Stream) :- multipart_open(Stream, DataStream, [boundary(...)]), process_parts(DataStream). process_parts(DataStream) :- process_part(DataStream), ( multipart_open_next(DataStream) -> process_parts(DataStream) ; close(DataStream) ).- license
- - The multipart parser contains code licensed under the MIT license, based on node-formidable by Felix Geisendoerfer and Igor Afonov.