def __call__(self, req):
    if self.first_req:
        self.first_req = False
        return (500, {}, 'Internal Server Error.')
    return (200, {}, '{"status":"OK","results":[]}')
def __call__(self, req):
    if self.first_req:
        self.first_req = False
        return (500, {}, 'Internal Server Error.')
    return (200, {}, '{"status":"OK","results":[]}')