def METHOD_NAME(self, request, builder):
    config = self.makeConfiguration(request)
    request.setHeader('content-type', 'image/svg+xml')
    request.setHeader('cache-control', 'no-cache')
    # get the last build for that builder using the data api
    last_build = yield self.ep.master.data.get(
        ("builders", builder, "builds"),
        limit=1, order=['-number'])
    # get the status text corresponding to results code
    results_txt = "unknown"
    if last_build:
        results = last_build[0]['results']
        complete = last_build[0]['complete']
        if not complete:
            results_txt = "running"
        elif results >= 0 and results < len(Results):
            results_txt = Results[results]
    svgdata = self.makesvg(results_txt, results_txt, left_text=config['left_text'],
                           config=config)
    return svgdata