starting to find usefull informations in cgi rfc

This commit is contained in:
hugogogo
2022-08-02 16:33:29 +02:00
parent f252887d53
commit b30a3a1407

View File

@@ -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)