def __init__(self, sourceURL, mimeType=None):
        # Url of the download.
        self._sourceURL = None
        # MIME Type for the resource
        self._mimeType = None

        if mimeType is None:
            if sourceURL is None:
                raise RuntimeError('Source must be non-null')
            self._sourceURL = sourceURL
        else:
            ExternalResource.__init__(self, sourceURL)
            self._mimeType = mimeType
Parse form data from an environ dict and return a (forms, files) tuple.
dataset/ETHPy150Open rwl/muntjac/muntjac/terminal/external_resource.py/ExternalResource.__init__--crossover with--dataset/ETHPy150Open circuits/circuits/circuits/web/parsers/multipart.py/parse_form_data