MCPcopy Create free account
hub / github.com/ronreiter/interactive-tutorials / __init__

Method __init__

suds/transport/http.py:39–54  ·  view source on GitHub ↗

@param kwargs: Keyword arguments. - B{proxy} - An http proxy to be specified on requests. The proxy is defined as {protocol:proxy,} - type: I{dict} - default: {} - B{timeout} - Set the url open timeout (seconds

(self, **kwargs)

Source from the content-addressed store, hash-verified

37 """
38
39 def __init__(self, **kwargs):
40 """
41 @param kwargs: Keyword arguments.
42 - B{proxy} - An http proxy to be specified on requests.
43 The proxy is defined as {protocol:proxy,}
44 - type: I{dict}
45 - default: {}
46 - B{timeout} - Set the url open timeout (seconds).
47 - type: I{float}
48 - default: 90
49 """
50 Transport.__init__(self)
51 Unskin(self.options).update(kwargs)
52 self.cookiejar = CookieJar()
53 self.proxy = {}
54 self.urlopener = None
55
56 def open(self, request):
57 try:

Callers

nothing calls this directly

Calls 2

UnskinClass · 0.90
updateMethod · 0.45

Tested by

no test coverage detected