/// <summary> /// Resets this instance so it can be re-used /// </summary> private void Reset() { this.HttpVersion = "HTTP/1.1"; this.StatusCode = HttpStatusCode.OK; m_headers = new Dictionary <string, string>(); m_outstream = new ResponseOutputStream(m_stream, this); m_hasSentHeaders = false; AddDefaultHeaders(); }