From 90472c8c7475837545b827dc7f6c9d273633621e Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Sun, 6 Dec 2020 14:30:44 +0200 Subject: MimeHooks: Request URL via environment variable IssueID #90 --- res/about/help.gmi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'res/about/help.gmi') diff --git a/res/about/help.gmi b/res/about/help.gmi index 5e9ececd..f71f5164 100644 --- a/res/about/help.gmi +++ b/res/about/help.gmi @@ -337,7 +337,7 @@ Example use cases: ## Interface -When a hook is called, it is given the MIME type and parameters via command line arguments. The response body is provided via stdin. +When a hook is called, it is given the MIME type and parameters via command line arguments. The response body is provided via stdin. The request's URL is available in the REQUEST_URL environment variable. The MIME type and parameters are split at semicolons, so "text/gemini; lang=ja" would be called as: ``` -- cgit v1.2.3