242_________________________________________ Internet

    CGI  . 
 CGI-      
(stdout).  , CGI     :

[CGI-Header]

Content-Type

Location

Status
/* line */
[Entity-Body]

D  "CGI-Header"    CGI-.

1.  "Content-Type:"   ,  -
  .     
.      
"Entity-Header".

2.  "Location:"  URI  ,   CGI -
 .  ,    , 
   .    
  "Response-Header".

3.  "Status:"     . CGI 
     .    ,
  "200 OK".     "Status-Code:"
 "Reason-Phrase:"    .

CGI-    :

Content-Type: text/html
Status: 777 Very Good

 :

Location: http://www.server.corn:443/redirector/file.html

     <CRLF>.  -
 ,     ,  
          -
     .    -
  CGI-:

Content-Type: text/html

/* line */

<HTML>

<HEAD>Hello message</HEAD>

<BODY>

You visited our CGI module!

</BODY></HTML>