parameters: (self, method, request_uri, headers, content)
docstring: Modify the request headers to add the appropriate
          Authorization header.
docstring_summary: Modify the request headers to add the appropriate
          Authorization header.
docstring_tokens: Modify the request headers to add the appropriate Authorization header .
function: def request(self, method, request_uri, headers, content):
          """Modify the request headers to add the appropriate
          Authorization header."""
          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)
function_tokens: 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 )