def on_get(self, request, response, user_id=None):
response.body = "<STR_LIT:{}>"<EOL>if self.handler(user_id):<EOL><INDENT>response.status = falcon.HTTP_200<EOL>self.api.register(utils.mxid2localpart(user_id))<EOL><DEDENT>else:<EOL><INDENT>response.status = falcon.HTTP_404<EOL><DEDENT>
Responds to GET request for users.