Quantcast
Channel: rahulsingla.com - VB.NET
Viewing all articles
Browse latest Browse all 11

ASP.NET sets the transfer encoding as chunked on premature flushing the Response

$
0
0

Well, I discovered this problem and its solution sometime earlier. However lately, a couple of my colleagues approached me for advice with the same issue, and I thought of writing a blog post for the same.

In a nut-shell, the problem is that ASP.NET transfers the data to the client in chunked encoding (Transfer-Encoding: chunked), if you prematurely flush the Response stream for the Http request and the Content-Length header for the Response is not explicitly set by you.

read more


Viewing all articles
Browse latest Browse all 11

Trending Articles