[#818] Fix `Content-Type` check