HTTPRes.h
上传用户:zlh9724
上传日期:2007-01-04
资源大小:1991k
文件大小:1k
源码类别:

浏览器

开发平台:

Unix_Linux

  1. /*                                                                       HTTP Response Stream
  2.                                    HTTP RESPONSE STREAM
  3.                                              
  4.    The HTTP response stream generates a HTTP response header and writes it to the target
  5.    which is normally a HTWriter stream.
  6.    
  7.    This module is implemented by HTTPRes.c, and it is a part of the  W3C Reference
  8.    Library.
  9.    
  10.  */
  11. #ifndef HTTPRES_H
  12. #define HTTPRES_H
  13. #include "HTStream.h"
  14. #include "HTReq.h"
  15. /*
  16.   STREAMS DEFINITION
  17.   
  18.    This stream makes a server specific HTTP header before it goes into transparent mode.
  19.    If endHeader is YES then we send an empty CRLF in order to end the header.
  20.    
  21.  */
  22. extern HTStream * HTTPResponse_new (HTRequest * request, HTStream * target,
  23.                                     BOOL endHeader);
  24. /*
  25.  */
  26. #endif
  27. /*
  28.    End of declaration */