Lines 35 & 36 can be replaced by a single line:

    request.meta.setdefault('download_maxsize', self._default_download_maxsize)

But do we need to always populate request.meta instead of doing something like this when it's used:

    maxsize = request.meta.get('download_maxsize', self._default_download_maxsize)