From b30a3a1407fb06df0438fef81cfe609bafe78e18 Mon Sep 17 00:00:00 2001 From: hugogogo Date: Tue, 2 Aug 2022 16:33:29 +0200 Subject: [PATCH] starting to find usefull informations in cgi rfc --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 20c8b93..074ff2c 100644 --- a/README.md +++ b/README.md @@ -89,6 +89,20 @@ - [ ] Your server should never die. +--- +## cgi rfc +[rfc 3875](https://www.rfc-editor.org/rfc/rfc3875) + +[server responsabilities](https://www.rfc-editor.org/rfc/rfc3875#section-3.1) +- The server [...] receives the request from the client +- selects a CGI script to handle the request +- converts the client request to a CGI request +- executes the script and converts the CGI response into a response for the client + +[script uri](https://www.rfc-editor.org/rfc/rfc3875#section-3.3) +- the 'Script-URI' [...] MUST have the property that if the client had accessed this URI instead, then the script would have been executed + + --- ## cgi env variables [cgi env variables](http://www.faqs.org/rfcs/rfc3875.html)