def METHOD_NAME(self, renderers, format):
    """
    If there is a ".json" style format suffix, filter the renderers
    so that we only negotiation against those that accept that format.
    """
    renderers = [renderer for renderer in renderers
                 if renderer.format == format]
    if not renderers:
        raise Http404
    return renderers