Skip to content
This repository has been archived by the owner on Jul 9, 2023. It is now read-only.

Commit

Permalink
Fixed issue where string.Format parameters were not in sequence
Browse files Browse the repository at this point in the history
  • Loading branch information
davidchiew-ooh committed Jan 20, 2016
1 parent a88c68c commit 9474c03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Titanium.Web.Proxy/EventArguments/SessionEventArgs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 9474c03

Please sign in to comment.