x2gobroker.web.extras module

class x2gobroker.web.extras.X2GoBrokerItWorks(application: Application, request: HTTPServerRequest, **kwargs: Any)[source]

Bases: _RequestHandler

HTTP request handler that simply replies with an “It works” page.

get(*args, **kwargs)[source]
http_header_items = {'Content-Type': 'text/plain; charset=utf-8', 'Expires': '+1h'}
class x2gobroker.web.extras.X2GoBrokerPubKeyService(application: Application, request: HTTPServerRequest, **kwargs: Any)[source]

Bases: _RequestHandler

HTTP request handler that provides X2Go Session Broker’s SSH public keys, if any are configured.

get(*args, **kwargs)[source]
http_header_items = {'Content-Type': 'text/plain; charset=utf-8', 'Expires': '+1h'}