Add response body size to writer interface