Fix content type switching to raw when custom See merge request theappsmith/internal-tools-client!568