CGI version1.1-the first chapter introduces
1. Introduction
1.1 Use
CGI is the assignment of responsibilities for HTTP server and CGI scripts in response to client requests.
Customer requests are by URL, method, and ancillary information about the transport protocol,
CGI defines some abstract parameters used to describe the request from the client, and defines the programming interface between the HTTP server and the script.
The server-side responsibility is to manage connections, data transformations, transmissions, network problems associated with client requests,
Then the client is responsible for the client's problems, such as data access, document processing.
1.2 Requirements
Keywords: ' must ', ' must not ', ' REQUIRED ', ' shall ', ' shall not ', ' should ', ' should ', ' may ' and ' OPTIONAL '
In this document as a description
An implementation that fails to meet all the ' must ' requirements to implement this Protocol is not eligible
Unconditional support is implemented to meet all must and all shuold requirements
One satisfies some must, but does not satisfy all required implementations is
Conditional compatible implementations
1.3 Documentation
This document does not define all of the functions and features of the CGI, and the following is a list of features not described in this document
' system-defined ' System definition
This part has different definitions in different systems, but the different implementations under the same system are the same
In the 7th chapter of the document a system typically defines an operating system class
' implementation-defined ' implementation definition
There are differences between feature implementations, and individual feature implementations must be declared in the documentation
1.4 Terminology
This document uses many of the terms defined in http/1.1, regardless,
The terminology used in this document does not conform to their original definition,
What they mean in this document:
' META-variable '
Parameters that the server passes to the CGI script
' Script '
The server is called according to the interface, which is not a characteristic programming language, it may be dynamically loaded or a library
' Server '
Server
CGI version1.1-First chapter introduction (translation)