Ticket #259 (new defect)

Opened 5 years ago

Last modified 5 years ago

HTTP Error 411: Length Required

Reported by: asmaier Owned by: jortel
Priority: major Milestone: 0.3.8
Component: suds (general) Version: 0.3.6
Keywords: https http_error_411 transportError Cc:
Blocked By: Blocking:

Description

Dear suds programmers,

I wanted 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? Any help would be greatly appreciated!

Change History

comment:1 Changed 5 years ago by jortel

  • Milestone changed from 0.3.6 to 0.3.8
Note: See TracTickets for help on using tickets.