[Soap-Python] How to change SOAP response headers

Wolfgang Sourdeau wsourdeau at inverse.ca
Wed May 23 17:58:48 CEST 2012


Le 12-05-23 11:56, Mehmet Arikkan a écrit :
> Hi,
>
> I see a "FIXME" in the trunk as such (in soap11.py):
>
> # FIXME: There's no way to alter soap response headers for the user.
>
> Is there no way to alter SOAP Header (i.. add elements) or if there 
> is, how can we do it easily?
>
>


 From my experience, it is possible to modify the response headers by 
using the rpc decorator rather than srpc and then modifying the 
ctx.out_header attribute.
That is, if we are talking stricly about the SOPE layer, and not the 
HTTP layer...


Wolfgang




More information about the Soap mailing list