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; }
public basestreamProxy(CompressedOutputStream baseStream) { this.baseStream = baseStream; }
private void initOutputStream() { outputStream = new CompressedOutputStream(this, realOutputStream); outputWriter = new StreamWriter(outputStream, NaiveUtils.UTF8Encoding); outputWriter.NewLine = "\r\n"; }