Beispiel #1
0
 private void clearStatus()
 {
     ClearCaches();
     outputStream = null; outputWriter = null; inputDataStream = null;
     RawRequest   = Host = Method = Url = Url_path = Url_qstr = HttpVersion = RealUrl = RealPath = RealPathEscaped = null;
     RequestHeaders?.Clear();
     ResponseHeaders?.Clear();
     ResponseStatusCode = defaultResponseCode;
 }
Beispiel #2
0
 public basestreamProxy(CompressedOutputStream baseStream)
 {
     this.baseStream = baseStream;
 }
Beispiel #3
0
 private void initOutputStream()
 {
     outputStream         = new CompressedOutputStream(this, realOutputStream);
     outputWriter         = new StreamWriter(outputStream, NaiveUtils.UTF8Encoding);
     outputWriter.NewLine = "\r\n";
 }