[Fedora-suds-list] HTTP Error 411: Length Required

Andreas Maier Andreas.Maier at lrz.de
Fri Sep 25 14:15:11 UTC 2009


Dear suds developers,

I want to convert a perl SOAP client into a python SOAP client. The perl client is initialized like

$url = 'https://host:port/cgi-devel/Service.cgi';
$uri = 'https://host/Service';

my $soap = SOAP::Lite
    -> uri($uri)
    -> proxy($url);

I tried to replicate this in python 2.4.2 with suds 0.3.6 doing

from suds.client import Client

url="https://host:port/cgi-devel/Service.cgi"
client=Client(url)

However when running this python script I get the error

suds.transport.TransportError: HTTP Error 411: Length Required

Is it because of https or what might be the problem?

Thank you,
Andreas Maier





More information about the fedora-suds-list mailing list