about summary refs log tree commit diff stats
path: root/doc/cha-protocols.5
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-09-02 20:39:11 +0200
committerbptato <nincsnevem662@gmail.com>2024-09-02 20:46:07 +0200
commitf73926306811359c47b589bf860ddccb0a1ceb14 (patch)
tree1dd00feb7e50a085839ea6666a9451c31a677888 /doc/cha-protocols.5
parent410951c56ad856954874463a1ad14432cad42149 (diff)
downloadchawan-f73926306811359c47b589bf860ddccb0a1ceb14.tar.gz
doc: update manpages
Diffstat (limited to 'doc/cha-protocols.5')
-rw-r--r--doc/cha-protocols.517
1 files changed, 10 insertions, 7 deletions
diff --git a/doc/cha-protocols.5 b/doc/cha-protocols.5
index 1f75b4f4..de44247e 100644
--- a/doc/cha-protocols.5
+++ b/doc/cha-protocols.5
@@ -1,4 +1,4 @@
-.\" Automatically generated by Pandoc 3.2
+.\" Automatically generated by Pandoc 3.3
 .\"
 .TH "cha\-protocols" "5" "" "" "Protocol support in Chawan"
 .SH Protocols
@@ -99,7 +99,7 @@ protocol\-specific line type.
 This is sort of supported through a sed filter for gemtext outputs in
 the CGI script (in other words, no modification to gmi2html was done to
 support this).
-.SS Local schemes: file:, about:, man:, data:
+.SS Local schemes: file:, about:, man:
 While these are not necessarily \f[I]protocols\f[R], they are
 implemented similarly to the protocols listed above (and thus can also
 be replaced, if the user wishes; see below).
@@ -122,11 +122,9 @@ A wrapper command \f[CR]mancha\f[R] also exists; this has an interface
 similar to \f[CR]man\f[R].
 Note: this used to be based on w3mman2html.cgi, but it has been
 rewritten in Nim (and therefore no longer depends on Perl either).
-.PP
-\f[CR]data:\f[R] decodes a data URL as defined in RFC 2397.
-.SS Internal schemes: cgi\-bin:, stream:, cache:
-Three internal protocols exist: \f[CR]cgi\-bin:\f[R], \f[CR]stream:\f[R]
-and \f[CR]cache:\f[R].
+.SS Internal schemes: cgi\-bin:, stream:, cache:, data:
+Four internal protocols exist: \f[CR]cgi\-bin:\f[R], \f[CR]stream:\f[R],
+\f[CR]cache:\f[R] and \f[CR]data:\f[R].
 These are the basic building blocks for the implementation of every
 protocol mentioned above; for this reason, these can \f[I]not\f[R] be
 replaced, and are implemented in the main browser binary.
@@ -158,6 +156,11 @@ downloaded.
 Note that this is not a real cache; files are deterministically loaded
 from the \[lq]cache\[rq] upon certain actions, and from the network upon
 others, but neither is used as a fallback to the other.
+.PP
+\f[CR]data:\f[R] decodes a data URL as defined in RFC 2397.
+This used to be a CGI module, but has been moved back into the loader
+process because these URLs can get so long that they no longer fit into
+the environment.
 .SS Custom protocols
 Chawan is protocol\-agnostic.
 This means that the \f[CR]cha\f[R] binary itself does not know much