def add_item(self, url, title=None, selection=None,
                 jsonp=None, redirect=None, response_info=False):
        parameters = {
                      'username' : self.user,
                      'password' : self.password,
                      'url' : url,
                     }
        if title is not None:
            parameters['title'] = title
        else:
            parameters['auto-title'] = 1
        if selection is not None:
            parameters['selection'] = selection
        if redirect is not None:
            parameters['redirect'] = redirect
        if jsonp is not None:
            parameters['jsonp'] = jsonp
        status, headers = self._query(self.addurl, parameters)
        if jsonp is not None:
            return status
        statustxt = self.add_status_codes[int(status)]
        if response_info:
            return (int(status), statustxt, headers['title'], headers['location'])
        else:
            return (int(status), statustxt)