101
101
self.user, auth_backend, tokens, write_message)
102
102
# Set up the bundle deployment infrastructure.
103
103
self.deployment = DeployMiddleware(self.user, deployer, write_message)
104
113
# Juju requires the Origin header to be included in the WebSocket
105
114
# client handshake request. Propagate the client origin if present;
106
115
# use the Juju API server as origin otherwise.