|
|
@ -162,6 +162,7 @@ class NotifyBase(object):
|
|
|
|
|
|
|
|
|
|
|
|
self.user = kwargs.get('user')
|
|
|
|
self.user = kwargs.get('user')
|
|
|
|
self.password = kwargs.get('password')
|
|
|
|
self.password = kwargs.get('password')
|
|
|
|
|
|
|
|
self.headers = kwargs.get('headers')
|
|
|
|
|
|
|
|
|
|
|
|
if 'format' in kwargs:
|
|
|
|
if 'format' in kwargs:
|
|
|
|
# Store the specified format if specified
|
|
|
|
# Store the specified format if specified
|
|
|
@ -424,4 +425,5 @@ class NotifyBase(object):
|
|
|
|
if 'user' in results['qsd']:
|
|
|
|
if 'user' in results['qsd']:
|
|
|
|
results['user'] = results['qsd']['user']
|
|
|
|
results['user'] = results['qsd']['user']
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
results['headers'] = {k[1:]: v for k, v in results['qsd'].items() if re.match(r'^-.', k)}
|
|
|
|
return results
|
|
|
|
return results
|
|
|
|