- it sets "Transfer-Encoding: chunked" header if:
- it's not a "finalFlush" and
- protocol is HTTP/1.1 (which is usual for today) and
- transfer encoding is not set and
- content-length is not set and
- status code is 200.
- "finalFlush" is invoked only internally, after request processing by handler.
And what was most important for us: Output cache had been disabled when transfer encoding was set by Flush() call.
No comments:
Post a Comment