Changed header case Content-type to Content-Type

fixes #2709 fixes #2726