async def METHOD_NAME(self):
    server_addr = f"http://localhost:{self.server.port}"
    async def send_message(transport, payload, endpoint):
        async with transport:
            await transport.handle_message(self.profile, payload, endpoint)
    transport = HttpTransport()
    self.profile.settings["emit_new_didcomm_mime_type"] = True
    await asyncio.wait_for(
        send_message(transport, b"{}", endpoint=server_addr), 5.0
    )
    assert self.message_results == [{}]
    assert self.headers.get("content-type") == "application/didcomm-envelope-enc"