def METHOD_NAME(httpserver):
    chunks = [bytes(f"{n:2}", "utf-8") for n in range(0, 100)]
    def chunk_generator():
        for chunk in chunks:
            yield chunk
    def stream_response_handler(_: WerkzeugRequest) -> Response:
        return Response(response=chunk_generator())
    httpserver.expect_request("").respond_with_handler(stream_response_handler)
    gateway_listen = HostAndPort(host="127.0.0.1", port=get_free_tcp_port())
    proxy_server = ProxyServer(httpserver.url_for("/"), gateway_listen, use_ssl=True)
    with server_context(proxy_server):
        with requests.get(
            f"https://localhost.localstack.cloud:{gateway_listen.port}/", stream=True
        ) as r:
            r.raise_for_status()
            chunk_iterator = r.iter_content(chunk_size=None)
            # TODO Change this assertion to check for each chunk (once the proxy supports that).
            #   Currently, the proxy does not support streaming the individual chunks directly to the client.
            #   Instead, the proxy receives the whole payload from the backend and then forwards it
            #   (maybe in chunks of different size) to the client.
            received_chunks = list(chunk_iterator)
            assert b"".join(chunks) == b"".join(received_chunks)