protected function getAcceptContentType($method)
    {
        // Just to make PHPMD happy.
        $method = null;
        $acceptFile = $this->getArgument("accept_file");
        if (!is_null($acceptFile)) {
            return "text/csv";
        }
        $acceptAnyFile = $this->getArgument("accept_any_file");
        if (!is_null($acceptAnyFile)) {
            return "*/*";
        }
        $acceptSoundFile = $this->getArgument("accept_sound_file");
        if (!is_null($acceptSoundFile)) {
            return "audio/mpeg";
        }
        return 'application/json';
    }