Skip to content

Commit

Permalink
Merge pull request pact-foundation#22 from screamish/master
Browse files Browse the repository at this point in the history
Enable hosting on Microsoft.Owin.Testing.TestServer
  • Loading branch information
neilcampbell committed Sep 18, 2014
2 parents b6f568b + 632b55b commit 1653f1a
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ private Response GenerateResponse(HttpStatusCode statusCode, string message)
private void SetContent(string content, Stream stream)
{
var contentBytes = Encoding.UTF8.GetBytes(content);
stream.Position = 0;
stream.Write(contentBytes, 0, contentBytes.Length);
stream.Flush();
}
Expand Down

0 comments on commit 1653f1a

Please sign in to comment.