It seems that until very recently (October 2004) there was no RFC covering CGI. Now there is – RFC 3875 – The Common Gateway Interface (CGI) Version 1.1. It explains how CGI scripts should be called and executed, what they should be given and what they should return. There is nothing new or anything we didn’t know before, but it is good to have it formalized and compiled into RFC.