From c86e052b81210e762f8ca6b79cb46b8c4bdfbfe0 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Tue, 20 Mar 2007 11:30:28 +0000 Subject: fix accumulated whitespace and indentation damage --- docs/draft-coar-cgi-v11-03-clean.html | 146 +++++++++++++++++----------------- 1 file changed, 73 insertions(+), 73 deletions(-) (limited to 'docs/draft-coar-cgi-v11-03-clean.html') diff --git a/docs/draft-coar-cgi-v11-03-clean.html b/docs/draft-coar-cgi-v11-03-clean.html index 37835500c..d52c9b842 100644 --- a/docs/draft-coar-cgi-v11-03-clean.html +++ b/docs/draft-coar-cgi-v11-03-clean.html @@ -123,7 +123,7 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2]

Discussion of this draft occurs on the CGI-WG mailing list; see the - project Web page at + project Web page at <URL:http://CGI-Spec.Golux.Com/> for details on the mailing list and the status of the project. @@ -410,17 +410,17 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2]

Together the HTTP [3,8] server - and the CGI script are responsible + and the CGI script are responsible for servicing a client request by sending back responses. The client request comprises a Universal Resource Identifier (URI) - [1], a + [1], a request method, and various ancillary information about the request provided by the transport mechanism.

- The CGI defines the abstract parameters, known as + The CGI defines the abstract parameters, known as metavariables, which describe the client's request. Together with a @@ -435,7 +435,7 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2]

This specification uses the same words as RFC 1123 - [5] to define the + [5] to define the significance of each particular requirement. These are:

@@ -478,7 +478,7 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2] all of the 'should' requirements for its features is said to be 'conditionally compliant.'

- +

1.3. Specifications @@ -514,7 +514,7 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2]

- +

1.4. Terminology @@ -523,11 +523,11 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2]

This specification uses many terms defined in the HTTP/1.1 specification [8]; however, the following terms are - used here in a + used here in a sense which may not accord with their definitions in that document, or with their common meaning.

- +
metavariable
@@ -538,13 +538,13 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2] environment, although that is the most common implementation.

- +
script

The software which is invoked by the server via this - interface. It + interface. It need not be a standalone program, but could be a dynamically-loaded or shared library, or even a subroutine in the server. It may be a set of statements @@ -562,7 +562,7 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2]

- +

2. Notational Conventions and Generic Grammar @@ -632,7 +632,7 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2]

- +

2.2. Basic Rules @@ -687,7 +687,7 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2] Note that newline (NL) need not be a single character, but can be a character sequence.

- +

3. Protocol Parameters @@ -730,7 +730,7 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2] 2396 [4] for authoritative treatment of this issue.

- +

3.2. The Script-URI @@ -739,7 +739,7 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2]

The 'Script-URI' is defined as the URI of the resource identified by the metavariables. Often, - this URI will be the same as + this URI will be the same as the URI requested by the client (the 'Client-URI'); however, it need not be. Instead, it could be a URI invented by the server, and so it can only be used in the context of the server and its CGI interface. @@ -747,7 +747,7 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2]

The Script-URI has the syntax of generic-RL as defined in section 2.1 of RFC 1808 [7], with the exception that object - parameters and + parameters and fragment identifiers are not permitted:

@@ -783,7 +783,7 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2] for the script to reconstruct this, and therefore the Script-URI includes the base protocol used.

- +

4. Invoking the Script @@ -795,7 +795,7 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2] otherwise, the file containing the script will be invoked as an executable program.

- +

5. The CGI Script Command Line @@ -807,7 +807,7 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2] This is identified by a "GET" or "HEAD" HTTP request with a URL query string not containing any unencoded "=" characters. For such a - request, + request, servers SHOULD parse the search string into words, using the following rules:

@@ -862,12 +862,12 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2]

Each CGI server implementation MUST define a mechanism - to pass data about the request from + to pass data about the request from the server to the script. The metavariables containing these data are accessed by the script in a system - defined manner. + defined manner. The representation of the characters in the metavariables is @@ -935,7 +935,7 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2]

- This variable is specific to requests made + This variable is specific to requests made via the "http" scheme. @@ -943,10 +943,10 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2]

If the Script-URI required access authentication for external - access, then the server + access, then the server MUST set the value of - this variable + this variable from the 'auth-scheme' token in the request's "Authorization" header field. @@ -962,7 +962,7 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2]

HTTP access authentication schemes are described in section 11 of the HTTP/1.1 specification [8]. The auth-scheme is - not case-sensitive. + not case-sensitive.

Servers @@ -1018,7 +1018,7 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2] entity if the type was provided via a "Content-type" field in the request header, or if the server can determine it in the absence - of a supplied "Content-type" field. The syntax is the + of a supplied "Content-type" field. The syntax is the same as for the HTTP "Content-Type" header field.

@@ -1053,7 +1053,7 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2] the data received. If the type remains unknown, then the script MAY choose to either assume a content-type of - application/octet-stream + application/octet-stream or reject the request with a 415 ("Unsupported Media Type") error. See section 7.2.1.3 for more information about returning error status values. @@ -1091,7 +1091,7 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2]

Note that the major and minor numbers are treated as separate - integers and hence each may be + integers and hence each may be more than a single digit. Thus CGI/2.4 is a lower version than CGI/2.13 which in turn is lower than CGI/12.3. Leading zeros in either @@ -1114,10 +1114,10 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2]

These metavariables are specific to - the protocol + the protocol via which the request is made. - Interpretation of these variables depends on the value of - the + Interpretation of these variables depends on the value of + the SERVER_PROTOCOL metavariable (see @@ -1158,7 +1158,7 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2] the request header fields that they receive. In particular, - they MAY + they MAY decline to make available any header fields carrying authentication information, such as "Authorization", or @@ -1188,7 +1188,7 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2] (defined in RFC 2396 [4]), with the exception - that a PATH_INFO of "/" + that a PATH_INFO of "/" represents a single void path segment.

@@ -1202,7 +1202,7 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2] The PATH_INFO string is the trailing part of the <path> component of the Script-URI (see section 3.2) - that follows the SCRIPT_NAME + that follows the SCRIPT_NAME portion of the path.

@@ -1285,7 +1285,7 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2] case of the original segment through the translation.

- The + The translation algorithm the server uses to derive PATH_TRANSLATED is implementation defined; CGI scripts which use this variable may @@ -1303,7 +1303,7 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2]

- A URL-encoded + A URL-encoded string; the <query> part of the Script-URI. (See @@ -1371,7 +1371,7 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2] Servers SHOULD provide this information to scripts.

- +

6.1.11. REMOTE_IDENT @@ -1398,7 +1398,7 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2] Servers MAY supply this information to scripts if the RFC1413 [11] lookup is performed.

- +

6.1.12. REMOTE_USER @@ -1426,7 +1426,7 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2] Servers SHOULD provide this metavariable to scripts.

- +

6.1.13. REQUEST_METHOD @@ -1438,7 +1438,7 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2] is set to the method with which the request was made, as described in section 5.1.1 of the HTTP/1.0 specification [3] and - section 5.1.1 of the + section 5.1.1 of the HTTP/1.1 specification [8].

@@ -1449,7 +1449,7 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2] extension-method = token

- The method is case sensitive. + The method is case sensitive. CGI/1.1 servers MAY choose to process some methods directly rather than passing them to scripts.

@@ -1460,7 +1460,7 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2] Servers MUST provide this metavariable to scripts.

- +

6.1.14. SCRIPT_NAME @@ -1494,7 +1494,7 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2] Servers MUST provide this metavariable to scripts.

- +

6.1.15. SERVER_NAME @@ -1505,7 +1505,7 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2] metavariable is set to the name of the - server, as + server, as derived from the <host> part of the Script-URI (see section 3.2). @@ -1544,7 +1544,7 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2] Servers MUST provide this metavariable to scripts.

- +

6.1.17. SERVER_PROTOCOL @@ -1589,7 +1589,7 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2] Servers MUST provide this metavariable to scripts.

- +

6.1.18. SERVER_SOFTWARE @@ -1641,7 +1641,7 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2]

For non-parsed header (NPH) scripts (see section 7.1 - below), + below), servers SHOULD attempt to ensure that the data supplied to the script are precisely @@ -1705,7 +1705,7 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2] internal and no transport-visible buffering.

- +

7.2. Parsed Header Output @@ -1790,7 +1790,7 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2] a member of the "one of these is required" set of header fields.

- +

7.2.1.2. Location @@ -1819,7 +1819,7 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2] value is either an absolute URI with optional fragment, as defined in RFC 1630 [1], or an absolute path within the server's URI space (i.e., - omitting the scheme and network-related fields) and optional + omitting the scheme and network-related fields) and optional query-string. If an absolute URI is returned by the script, then the server MUST generate a @@ -1867,7 +1867,7 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2] The valid status codes are listed in section 6.1.1 of the HTTP/1.0 specifications [3]. If the SERVER_PROTOCOL is "HTTP/1.1", then the status codes defined in the HTTP/1.1 - specification [8] may + specification [8] may be used. If the script does not return a "Status" header field, then "200 OK" SHOULD be assumed by the server.

@@ -1879,7 +1879,7 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2] SHOULD include a "Status: 404 Not Found" in the header data returned to the server.

- +

7.2.1.4. Extension header fields @@ -1941,7 +1941,7 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2]

Servers MUST support the standard mechanism (described below) which - allows + allows script authors to determine what URL to use in documents which reference the script; @@ -1951,11 +1951,11 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2] mechanism is as follows:

- The server + The server MUST translate the header data from the CGI header field syntax to the HTTP header field syntax if these differ. For example, the character - sequence for + sequence for newline (such as Unix's ASCII NL) used by CGI scripts may not be the same as that used by HTTP (ASCII CR followed by LF). The server MUST also resolve any conflicts between header fields returned by the script @@ -2052,7 +2052,7 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2]

  • define the behaviour for "." or ".." path segments; i.e., whether they are prohibited, treated as - ordinary path + ordinary path segments or interpreted in accordance with the relative URL specification [7];
  • @@ -2143,7 +2143,7 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2]

    - 9. + 9. Script Implementation

    @@ -2219,7 +2219,7 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2] Found' if PATH_INFO is not NULL.

    - If a script is processing the output of a form, it SHOULD + If a script is processing the output of a form, it SHOULD verify that the CONTENT_TYPE is "application/x-www-form-urlencoded" [2] or whatever other media type is expected. @@ -2231,12 +2231,12 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2] of void path segments ("//") and special path segments ("." and ".."). They SHOULD either be removed from the path before - use in OS + use in OS system calls, or the request SHOULD be rejected with '404 Not Found'.

    - As it is impossible for + As it is impossible for scripts to determine the client URI that initiated a request without knowledge of the specific server in @@ -2246,7 +2246,7 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2] tag in the document.

    - When returning header fields, + When returning header fields, scripts SHOULD try to send the CGI header fields (see section 7.2) as soon as possible, and @@ -2254,7 +2254,7 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2] before any HTTP header fields. This may help reduce the server's memory requirements.

    - +

    10. System Specifications @@ -2300,7 +2300,7 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2]

    - +

    10.2. Unix @@ -2356,7 +2356,7 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2]

    - +

    11. Security Considerations @@ -2371,7 +2371,7 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2]

    As discussed in the security considerations of the HTTP specifications [3,8], the - convention has been established that the + convention has been established that the GET and HEAD methods should be 'safe'; they should cause no side-effects and only have the significance of resource retrieval.

    @@ -2386,7 +2386,7 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2] requests are those that may be repeated an arbitrary number of times and produce side effects identical to a single request.

    - +

    11.2. HTTP Header @@ -2410,7 +2410,7 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2] HTTP_PROXY_AUTHORIZATION metavariable.

    - +

    11.3. Script @@ -2429,7 +2429,7 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2] SHOULD be taken to protect the core memory of the server, or to ensure that untrusted code cannot be executed.

    - +

    11.4. Data Length and Buffering Considerations @@ -2504,7 +2504,7 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2] Patrick McManus, Adam Donahue, Ross Patterson, and Harald Alvestrand.

    - +

    13. References @@ -2554,7 +2554,7 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2]
    [6]
    -
    Crocker, D.H., 'Standard for the Format of ARPA Internet Text +
    Crocker, D.H., 'Standard for the Format of ARPA Internet Text Messages', STD 11, RFC 822, University of Delaware, August 1982.

    @@ -2614,7 +2614,7 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2]

    - +

    14. Authors' Addresses @@ -2669,6 +2669,6 @@ INTERNET-DRAFT Expires 1 December 1998 [Page 2] HREF="mailto:drtr@etrade.co.uk" >drtr@etrade.co.uk - + -- cgit v1.2.3