Issue #1565: COutputCache should respect Content-Type headers