(html (head (title "sph-lib (sph web html)") (link (@ (rel "stylesheet") (type "text/css") (href "/css/sph.css"))) (meta (@ (name "viewport") (content "width=device-width,initial-scale=1"))) #f) (body () (div (@ (class top)) (nav (a (@ (href "/")) "start") ", " (a (@ (href "/feed.xml")) "feed")) "") (div (@ (class "middle")) (div (@ (class mtime) (title "last modification time of the current page")) "2023-04-05") (section (h1 "(sph web html)") (div (p "html related methods including an advanced html multipart form data parser") (p "part of " (a (@ (href "../../sph-lib.html")) "sph-lib")) (#f (section (@ (class "library-name")) (h1 "module name") (p "(sph web html)")) (section (@ (class "library-exports")) (h1 "exported bindings") (div (div (@ (class "doc-bindings")) (div (@ (id "doc-b-" "html-fold-multipart-form-data") (class "doc-b")) (div (span (@ (class "type")) "procedure") ": " (span (@ (class "name")) "html-fold-multipart-form-data") " " (span (@ (class "first-sig")) "proc-part proc-multipart result port [boundary] ->")) "" "") (div (@ (id "doc-b-" "html-multipart-form-data-ref") (class "doc-b")) (div (span (@ (class "type")) "procedure") ": " (span (@ (class "name")) "html-multipart-form-data-ref") " " (span (@ (class "first-sig")) "a name ->")) (div (@ (class "rest-sig")) (div "list string -> pair")) (div (@ (class "description")) (("for parsed multipart form data like html-read-multipart-form-data creates." (br) "retrieves (alist:header . string:body) pairs by content-disposition name")))) (div (@ (id "doc-b-" "html-multipart-form-data?") (class "doc-b")) (div (span (@ (class "type")) "procedure") ": " (span (@ (class "name")) "html-multipart-form-data?") " " (span (@ (class "first-sig")) "headers [header-key] ->")) (div (@ (class "rest-sig")) (div "(string ...) [string] -> boolean")) "") (div (@ (id "doc-b-" "html-parse-urlencoded-form-data") (class "doc-b")) (div (span (@ (class "type")) "procedure") ": " (span (@ (class "name")) "html-parse-urlencoded-form-data") " " (span (@ (class "first-sig")) "request-body ->")) (div (@ (class "rest-sig")) (div "string -> alist")) (div (@ (class "description")) (("parse an application/x-www-form-urlencoded string and result in an alist")))) (div (@ (id "doc-b-" "html-read-multipart-form-data") (class "doc-b")) (div (span (@ (class "type")) "procedure") ": " (span (@ (class "name")) "html-read-multipart-form-data") " " (span (@ (class "first-sig")) "port [normalise-header-keys?] ->")) (div (@ (class "rest-sig")) (div "port [procedure:{string -> string/any}] -> list")) (div (@ (class "description")) (("parses all multipart form data available on port into a list." (br) "for stream-like and conditional parsing see html-fold-multipart-form-data")))) (div (@ (id "doc-b-" "html-uri-decode") (class "doc-b")) (div (span (@ (class "type")) "procedure") ": " (span (@ (class "name")) "html-uri-decode") " " (span (@ (class "first-sig")) "str ->")) (div (@ (class "rest-sig")) (div "string -> string")) "") (div (@ (id "doc-b-" "html-uri-encode") (class "doc-b")) (div (span (@ (class "type")) "procedure") ": " (span (@ (class "name")) "html-uri-encode") " " (span (@ (class "first-sig")) "r ->")) (div (@ (class "rest-sig")) (div "string -> string")) "") (div (@ (id "doc-b-" "sph-web-html-description") (class "doc-b")) (div (span (@ (class "type")) "variable") ": " (span (@ (class "name")) "sph-web-html-description")) "" "")))))))) ()))