diff --git a/Titanium.Web.Proxy/EventArguments/SessionEventArgs.cs b/Titanium.Web.Proxy/EventArguments/SessionEventArgs.cs index d0ad2fc35..0d60ec8fb 100644 --- a/Titanium.Web.Proxy/EventArguments/SessionEventArgs.cs +++ b/Titanium.Web.Proxy/EventArguments/SessionEventArgs.cs @@ -326,7 +326,7 @@ public void Ok(string html) var result = Encoding.Default.GetBytes(html); var connectStreamWriter = new StreamWriter(this.Client.ClientStream); - connectStreamWriter.WriteLine(string.Format("{0} {2} {3}", ProxySession.Request.HttpVersion, 200, "Ok")); + connectStreamWriter.WriteLine(string.Format("{0} {1} {2}", ProxySession.Request.HttpVersion, 200, "Ok")); connectStreamWriter.WriteLine("Timestamp: {0}", DateTime.Now); connectStreamWriter.WriteLine("content-length: " + result.Length); connectStreamWriter.WriteLine("Cache-Control: no-cache, no-store, must-revalidate");