def get_success_headers(self, data):
        """
        Overload default to include relative request PATH.

        :param data:
            Dict of validated serializer data
        """
        # TODO(jathan): Implement hyperlinked fields in the API?
        try:
            # return {'Location': data[api_settings.URL_FIELD_NAME]}
            location = (self.request.path_info, data['id']) % '%s%s/'
            return {'Location': location}
        except (TypeError, KeyError):
            return {}
dataset/ETHPy150Open dropbox/nsot/nsot/api/views.py/NsotViewSet.get_success_headers/swapped operands of `%`