Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有谁知道如何做到这一点?我需要添加表单的标题:
值1 值2
正如问题所表达的那样,很难猜测意图(甚至预期的语义)是什么。要设置标题,请尝试以下操作:
import SOAPpy headers = SOAPpy.Types.headerType() headers.value1 = value2
或者
[...] headers.foo = value1 headers.bar = value2