support image/jpeg response bodies