예제 #1
0
 public HttpRequestInfo(string ARawHTTPCommand, string ARemoteIP, string ACommand, ContextRFC AContext)
 {
     _Context      = AContext;
     _CommandType  = HttpCommandEnum.Unknown;
     _Cookies      = new ServerCookies();
     ContentLength = -1;
 }
예제 #2
0
    public HttpResponseInfo(TcpConnection<int, ReplyRFC> AConnection)
	  {
	    _CloseContentStream = true;
			ContentLength = Http.ContentLength;
      RawHeaders.FoldLines = false;
      _Cookies = new ServerCookies();
			ServerSoftware = Http.HttpServer_ServerSoftware;
			ContentType = Http.ContentType;
      _RemoteConnection = AConnection;      
			ResponseNo = Http.ResponseNo;
	  }
예제 #3
0
 public HttpResponseInfo(TcpConnection <int, ReplyRFC> AConnection)
 {
     _CloseContentStream  = true;
     ContentLength        = Http.ContentLength;
     RawHeaders.FoldLines = false;
     _Cookies             = new ServerCookies();
     ServerSoftware       = Http.HttpServer_ServerSoftware;
     ContentType          = Http.ContentType;
     _RemoteConnection    = AConnection;
     ResponseNo           = Http.ResponseNo;
 }
예제 #4
0
 public HttpRequestInfo(string ARawHTTPCommand, string ARemoteIP, string ACommand, ContextRFC AContext)
 {
     _Context = AContext;
     _CommandType = HttpCommandEnum.Unknown;
     _Cookies = new ServerCookies();
     ContentLength = -1;
 }