'Modify the request headers to add the appropriate
Authorization header.'

def request(self, method, request_uri, headers, content):

    headers['Authorization'] = 'WSSE    profile="UsernameToken"'
    iso_now = time.strftime('%Y-%m-%dT%H:%M:%SZ', time.gmtime())
    cnonce = _cnonce()
    password_digest = _wsse_username_token(cnonce, iso_now, self.credentials[1])
    headers['X-WSSE'] = ('UsernameToken    Username="%s",    PasswordDigest="%s",    Nonce="%s",    Created="%s"' % (self.credentials[0], password_digest, cnonce, iso_now))
