suds-community / suds

Suds is a lightweight SOAP python client for consuming Web Services. A community fork of the jurko fork.
https://suds.readthedocs.io/
GNU Lesser General Public License v3.0
172 stars 54 forks source link

The header must be passed while requesting a WSDL #12

Closed guifran001 closed 5 years ago

guifran001 commented 5 years ago

because some servers might require credentials to give access to it. Servers configured like will return a 401 error even though credentials were passed at the Client creation if the headers are not passed along.

phillbaker commented 5 years ago

Makes sense, thanks!

It'd be great to capture this behavior in a test - could you take a quick look at https://github.com/suds-community/suds/blob/master/tests/test_transport_http.py and see if a test can be added (bmaybe based on one for .send)?

guifran001 commented 5 years ago

@phillbaker : test added

guifran001 commented 5 years ago

@phillbaker: Would it be possible to release a new official version with this fix soon?

phillbaker commented 5 years ago

@guifran001 just pushed a new tag, should be up on pypi shortly!