Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
0 answers
148 views

In C# HttpResponse, when does the response stream starts to be sent to the client?

I am using streams in my http response and was wondering when the stream starts to be sent to the client that sent the request. I thought it was sent when the response was returned but one of my ...
Sacha Bittner's user avatar
26 votes
3 answers
9k views

Some questions about writing on ASP.NET response stream

I'm making tests with ASP.NET HttpHandler for download a file writting directly on the response stream, and I'm not pretty sure about the way I'm doing it. This is a example method, in the future the ...
vtortola's user avatar
  • 35.8k
1 vote
2 answers
4k views

Reading from a HttpResponseStream fails

I'm running into an issue where reading from a HttpResponseStream fails because the StreamReader that I'm wrapping around in reads faster that the Response Stream gets the actual response. I'm ...
RobV's user avatar
  • 28.6k