

def _update_self_link(self, link, headers):
    'Update the self link of this navigator'
    self.self.props.update(link)
    self.self.props['type'] = headers.get('Content-Type', self.DEFAULT_CONTENT_TYPE)
    self.self.props

dataset/ETHPy150Open deontologician/restnavigator/restnavigator/halnav.py HALNavigatorBase._update_self_link/original