Reputation: 2644
It seems that since the newer version of Chrome, the browser is trying to get my PDF (generated by an ASP.NET handler) in chunks instead of in one time. But my handler does not support this. How can i disable this behaviour server side ?
I checked it with fiddler and I see a request with a status 200, and that following by multiple requests with status 504.
Upvotes: 0
Views: 605
Reputation: 108975
You can tell the client that you do not support range requests by sending, in your response headers:
Accept-Range: none
(See the RFC.)
Note:
Upvotes: 1