An exception occurs in the chrome browser.
Yesterday I wrote a binary output image method and found an exception in chrome:
(Failed)
Net: ERR_INCOMPLETE_CHUNKED_ENCODING code is written as follows:
// Directly output the binary stream Response. ContentType = "image/jpeg"; Response. BinaryWrite (ms. ToArray (); Response. Flush (); Response. Close ();
This was previously written in this way !!! Never encountered an error !!! Bing search (tianchao you know) and found: Response. close () causes the chunked decoding failure of chrome. other browsers do not have this exception, and it seems that the chrome version does not have this problem. Remove Response. after Close (), everything works normally.
An error occurred while displaying the chrome page,
I have submitted several browser errors!
Chrome cannot be displayed normally
Is incompatible with website Problems
****************
Or you have enabled a filter rule.
Close
That's all.
*************
If not, use it.
IE browser