def get_nets_radb(self, response, is_http=False):
        """
        The function for parsing network blocks from ASN origin data.

        Args:
            response (:obj:`str`): The response from the RADB whois/http
                server.
            is_http (:obj:`bool`): If the query is RADB HTTP instead of whois,
                set to True. Defaults to False.

        Returns:
            list: A list of network block dictionaries

            ::

                [{
                    'cidr' (str) - The assigned CIDR
                    'start' (int) - The index for the start of the parsed
                        network block
                    'end' (int) - The index for the end of the parsed network
                        block
                }]
        """

        nets = []

        if is_http:
            regex = r'route(?:6)?:[^\S\n]+(?P<val>.+?)<br>'
        else:
            regex = r'^route(?:6)?:[^\S\n]+(?P<val>.+|.+)$'

        # Iterate through all of the networks found, storing the CIDR value
        # and the start and end positions.
        for match in re.finditer(
                regex,
                response,
                re.MULTILINE
        ):

            try:

                net = copy.deepcopy(BASE_NET)
                net['cidr'] = match.group(1).strip()
                net['start'] = match.start()
                net['end'] = match.end()
                nets.append(net)

            except ValueError:  # pragma: no cover

                pass

        return nets
The function for parsing network blocks from ASN origin data.

        Args:
            response (:obj:`str`): The response from the RADB whois/http
                server.
            is_http (:obj:`bool`): If the query is RADB HTTP instead of whois,
                set to True. Defaults to False.

        Returns:
            list: A list of network block dictionaries

            ::

                [{
                    'cidr' (str) - The assigned CIDR
                    'start' (int) - The index for the start of the parsed
                        network block
                    'end' (int) - The index for the end of the parsed network
                        block
                }]