MCPcopy Index your code
hub / github.com/ronreiter/interactive-tutorials / headers

Method headers

suds/client.py:667–680  ·  view source on GitHub ↗

Get http headers or the http/https request. @return: A dictionary of header/values. @rtype: dict

(self)

Source from the content-addressed store, hash-verified

665 return result
666
667 def headers(self):
668 """
669 Get http headers or the http/https request.
670 @return: A dictionary of header/values.
671 @rtype: dict
672 """
673 action = self.method.soap.action
674 result = {
675 'Content-Type': 'text/xml; charset=utf-8',
676 'SOAPAction': action
677 }
678 result.update(self.options.headers)
679 log.debug('headers = %s', result)
680 return result
681
682 def succeeded(self, binding, reply):
683 """

Callers 1

sendMethod · 0.95

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected