iAdd http compatibility mode to the manpage. - geomyidae - A small C-based gopherd. Err bitreich.org 70 hgit clone git://bitreich.org/geomyidae/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/geomyidae/ URL:git://bitreich.org/geomyidae/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/geomyidae/ bitreich.org 70 1Log /scm/geomyidae/log.gph bitreich.org 70 1Files /scm/geomyidae/files.gph bitreich.org 70 1Refs /scm/geomyidae/refs.gph bitreich.org 70 1Tags /scm/geomyidae/tag bitreich.org 70 1README /scm/geomyidae/file/README.gph bitreich.org 70 1LICENSE /scm/geomyidae/file/LICENSE.gph bitreich.org 70 i--- Err bitreich.org 70 1commit 1f99de32eae25260f0596aad2c33780a239ba999 /scm/geomyidae/commit/1f99de32eae25260f0596aad2c33780a239ba999.gph bitreich.org 70 1parent 28c6362fb2bcbe837e46883e60eb2e89efc59692 /scm/geomyidae/commit/28c6362fb2bcbe837e46883e60eb2e89efc59692.gph bitreich.org 70 hAuthor: Christoph Lohmann <20h@r-36.net> URL:mailto:20h@r-36.net bitreich.org 70 iDate: Sat, 22 Jul 2023 17:56:54 +0200 Err bitreich.org 70 i Err bitreich.org 70 iAdd http compatibility mode to the manpage. Err bitreich.org 70 i Err bitreich.org 70 iDiffstat: Err bitreich.org 70 i M geomyidae.8 | 12 ++++++++++++ Err bitreich.org 70 i Err bitreich.org 70 i1 file changed, 12 insertions(+), 0 deletions(-) Err bitreich.org 70 i--- Err bitreich.org 70 1diff --git a/geomyidae.8 b/geomyidae.8 /scm/geomyidae/file/geomyidae.8.gph bitreich.org 70 i@@ -419,6 +419,18 @@ Selector: /some/v1/service/add/something?args=value Err bitreich.org 70 i "/add/something" "/some/v1/service/add/something?args=value" is called Err bitreich.org 70 i .Ed Err bitreich.org 70 i . Err bitreich.org 70 i+.Ss Http compatibility Err bitreich.org 70 i+For maximum flexibility in case someone sends a HTTP request to gopher, Err bitreich.org 70 i+geomyidae supports a special case of CGI. See this example: Err bitreich.org 70 i+.Bd -literal -offset indent Err bitreich.org 70 i+Client request: GET /some/path HTTP/1.1 Err bitreich.org 70 i+-> /GET exists and is exectuable Err bitreich.org 70 i+-> /GET "" "" $host $port "" "GET /some/path HTTP/1.1" is called Err bitreich.org 70 i+.Ed Err bitreich.org 70 i+ Err bitreich.org 70 i+This allows for example simple scripts for icecast upload compatibility Err bitreich.org 70 i+or handling transparent HTTP right next to gopher, getting TLS for free. Err bitreich.org 70 i+. Err bitreich.org 70 i .Ss Some CGI Examples Err bitreich.org 70 i Note: these are a very simple examples with no fitness checks with respect Err bitreich.org 70 i to safety/security. Err bitreich.org 70 .