Fix Content-Type check