diff options
-rw-r--r-- | README.md | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/README.md b/README.md index 09b2e8c..3b6b0df 100644 --- a/README.md +++ b/README.md @@ -8,4 +8,12 @@ Script <path-to-cgi-script> Environment HTTP_HOST <hostname> ENV_KEY <some-env-value> -``` \ No newline at end of file +``` + +Sets the following environmental variables for the CGI script, many following [RFC 3875][rfc]: +- **`GATEWAY_INTERFACE`** to the fixed value `CGI/1.1` +- **`PATH_INFO`** to the HTTP path the client requested +- **`QUERY_STRING`** to the query part of the URI +- **`REQUEST_METHOD`** to the HTTP request method + +[rfc]: https://datatracker.ietf.org/doc/html/rfc3875 \ No newline at end of file |