about summary refs log tree commit diff stats
path: root/doc/cha-localcgi.5
diff options
context:
space:
mode:
Diffstat (limited to 'doc/cha-localcgi.5')
-rw-r--r--doc/cha-localcgi.523
1 files changed, 12 insertions, 11 deletions
diff --git a/doc/cha-localcgi.5 b/doc/cha-localcgi.5
index 85129618..08f0e42b 100644
--- a/doc/cha-localcgi.5
+++ b/doc/cha-localcgi.5
@@ -1,4 +1,4 @@
-.\" Automatically generated by Pandoc 3.3
+.\" Automatically generated by Pandoc 3.4
 .\"
 .TH "cha\-localcgi" "5" "" "" "Local CGI support in Chawan"
 .SH Local CGI support in Chawan
@@ -98,20 +98,21 @@ For example, an HTTP client would have to send
 \f[CR]Cha\-Control: ControlDone\f[R] before returning the retrieved
 headers.
 .PP
-List of public error codes:
+Following is a list of error codes and their string counterparts.
+CGI scripts may use either (but not both) in a ConnectionError header.
 .IP \[bu] 2
-\f[CR]1 internal error\f[R]: An internal error prevented the script from
+\f[CR]1 InternalError\f[R]: An internal error prevented the script from
 retrieving the requested resource.
 CGI scripts can also use this to signal that they have no information on
 what went wrong.
 .IP \[bu] 2
-\f[CR]2 invalid method\f[R]: The client requested data using a method
-not supported by this protocol.
+\f[CR]2 InvalidMethod\f[R]: The client requested data using a method not
+supported by this protocol.
 .IP \[bu] 2
-\f[CR]3 invalid URL\f[R]: The request URL could not be interpreted as a
+\f[CR]3 InvalidURL\f[R]: The request URL could not be interpreted as a
 valid URL for this format.
 .IP \[bu] 2
-\f[CR]4 file not found\f[R]: No file was found at the requested address,
+\f[CR]4 FileNotFound\f[R]: No file was found at the requested address,
 and thus the request is meaningless.
 Note: this should only be used by protocols that do not rely on a
 client\-server architecture, e.g.\ local file access, local databases,
@@ -119,14 +120,14 @@ or peer\-to\-peer file retrieval mechanisms.
 A server responding with \[lq]no file found\[rq] is NOT a connection
 error, and is better represented as a response with a 404 status code.
 .IP \[bu] 2
-\f[CR]5 failed to resolve host\f[R]: The hostname could not be resolved.
+\f[CR]5 FailedToResolveHost\f[R]: The hostname could not be resolved.
 .IP \[bu] 2
-\f[CR]6 failed to resolve proxy\f[R]: The proxy could not be resolved.
+\f[CR]6 FailedToResolveProxy\f[R]: The proxy could not be resolved.
 .IP \[bu] 2
-\f[CR]7 connection refused\f[R]: The server refused to establish a
+\f[CR]7 ConnectionRefused\f[R]: The server refused to establish a
 connection.
 .IP \[bu] 2
-\f[CR]8 proxy refused to connect\f[R]: The proxy refused to establish a
+\f[CR]8 ProxyRefusedToConnect\f[R]: The proxy refused to establish a
 connection.
 .SS Environment variables
 Chawan sets the following environment variables: