Package suds :: Package transport :: Module http :: Class HttpAuthenticated
[hide private]
[frames] | no frames]

Class HttpAuthenticated

source code

Transport --+    
            |    
HttpTransport --+
                |
               HttpAuthenticated

Provides basic http authentication for servers that don't follow the specified challenge / response model. This implementation appends the Authorization http header with base64 encoded credentials on every http request.

Instance Methods [hide private]
stream
open(self, request)
Open the url in the specified request.
source code
Reply
send(self, request)
Send soap message.
source code
 
addcredentials(self, request) source code
 
credentials(self) source code

Inherited from HttpTransport: __deepcopy__, __init__, addcookies, getcookies, u2handlers, u2open, u2opener, u2ver

Method Details [hide private]

open(self, request)

source code 

Open the url in the specified request.

Parameters:
  • request - A transport request.
Returns: stream
An input stream.
Raises:
Overrides: Transport.open
(inherited documentation)

send(self, request)

source code 

Send soap message. Implementations are expected to handle:

  • proxies
  • http headers
  • cookies
  • sending message
  • brokering exceptions into TransportError
Parameters:
  • request - A transport request.
Returns: Reply
The reply
Raises:
Overrides: Transport.send
(inherited documentation)