MCPcopy Index your code
hub / github.com/pyload/pyload / setOption

Method setOption

module/network/Browser.py:116–118  ·  view source on GitHub ↗

Adds an option to the request, see HTTPRequest for existing ones

(self, name, value)

Source from the content-addressed store, hash-verified

114 self.renewHTTPRequest()
115
116 def setOption(self, name, value):
117 """Adds an option to the request, see HTTPRequest for existing ones"""
118 self.options[name] = value
119
120 def deleteOption(self, name):
121 if name in self.options: del self.options[name]

Callers 8

_prepareMethod · 0.80
_initMethod · 0.80
loadMethod · 0.80
uploadMethod · 0.80
_setupMethod · 0.80
handle_multiMethod · 0.80
_prepareMethod · 0.80
setupMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected