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)