Fix EZP-20890: Headers overriden by LegacyKernelController