diff options
author | bptato <nincsnevem662@gmail.com> | 2023-12-14 01:14:29 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2023-12-14 01:19:44 +0100 |
commit | 1a50291c3eabe563a0a6d999ada01956607cc040 (patch) | |
tree | 91485fa24cfd7742d31e6f0cee9c023a9a328815 /doc | |
parent | 506fe6579bf43097a2a99e93604e654623a857b4 (diff) | |
download | chawan-1a50291c3eabe563a0a6d999ada01956607cc040.tar.gz |
Update doc/localcgi
multipart through local CGI is now supported as well. (also, fix Cha-Control description inaccuracy)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/localcgi.md | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/localcgi.md b/doc/localcgi.md index af8e5288..1d46b3c6 100644 --- a/doc/localcgi.md +++ b/doc/localcgi.md @@ -51,7 +51,7 @@ The `Cha-Control` header's value is parsed as follows: ``` Cha-Control-Value = Command *Parameter Command = ALPHA *ALPHA -Parameter = *SPACE *CHAR +Parameter = SPACE *CHAR ``` In other words, it is `Command [Param1] [Param2] ...`. @@ -161,8 +161,9 @@ Note: the fragment part is omitted intentionally. If the request body is not empty, it is streamed into the program through the standard input. -NOTE: multipart requests are not implemented yet. This will be fixed in -the future. +Note that this may be both an application/x-www-form-urlencoded or a +multipart/form-data request; `CONTENT_TYPE` stores information about the +request type, and in case of a multipart request, the boundary as well. ## Troubleshooting |