def get_set_default_style_url(self, layer_name):
        """
        Given a layer name, return the REST url to set a default style
        """
        if not layer_name:
            return None

        url_fragment = 'rest/layers/%s:%s' % (settings.DEFAULT_WORKSPACE, layer_name)
        full_url = urljoin(settings.GEOSERVER_BASE_URL, url_fragment)

        return full_url