def __init__(self, spacegdn):
        """ Instantiate a new :class:`.Request`.

        This should only be called by classes, functions or modules in
        `pySpaceGDN`.

        """
        self.spacegdn = spacegdn

        self._headers = dict()
        self._post_params = dict()
        self._get_params = dict()
        self._path = None

        self._headers['User-Agent'] = self.spacegdn.user_agent
        self._headers['Accept'] = 'application/json'
def __init__ ( self , spacegdn ) : self . spacegdn = spacegdn self . _headers = dict ( ) self . _post_params = dict ( ) self . _get_params = dict ( ) self . _path = None self . _headers [ 'User-Agent' ] = self . spacegdn . user_agent self . _headers [ 'Accept' ] = 'application/json'
Instantiate a new :class:`.Request`.

        This should only be called by classes, functions or modules in
        `pySpaceGDN`.