def test_dump_response_data(self):
        self.configure_response(
            url='https://example.com/redirected',
            content=b'foobarbogus',
            reason=b'OK',
        )
        self.configure_httpresponse(
            headers={'Content-Type': 'application/json'},
            reason=b'OK',
            status=201,
        )

        array = bytearray()
        prefixes = dump.PrefixSettings('request:', 'response:')
        dump._dump_response_data(
            response=self.response,
            prefixes=prefixes,
            bytearr=array,
        )

        assert b'response:HTTP/1.1 201 OK\r\n' in array
        assert b'response:Content-Type: application/json\r\n' in array
Input an integer range spec like "200,205-207" and return a list of
dataset/ETHPy150Open sigmavirus24/requests-toolbelt/tests/test_dump.py/TestResponsePrivateFunctions.test_dump_response_data--crossover with--dataset/ETHPy150Open F-Secure/mittn/mittn/httpfuzzer/number_ranges.py/unpack_integer_range