def _update_self_link(self, link, headers):
        self.self.props.update(link)
        # Set the self.type to the content_type of the returned document
        self.self.props['type'] = headers.get(
            'Content-Type', self.DEFAULT_CONTENT_TYPE)
        self.self.props
Update the self link of this navigator
dataset/ETHPy150Open deontologician/restnavigator/restnavigator/halnav.py/HALNavigatorBase._update_self_link