From: SourceForge.net <no...@so...> - 2004-01-22 19:01:26
|
Bugs item #882321, was opened at 2004-01-22 14:01 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=387667&aid=882321&group_id=26590 Category: SOAPpy Group: None Status: Open Resolution: None Priority: 5 Submitted By: Mark Moales (mmoales) Assigned to: Nobody/Anonymous (nobody) Summary: Failures if no content-length Initial Comment: If the server does not send a content-length header for the response, SOAPpy's Client fails to read the response. My quick hack for getting it to work in Client.py: message_len = int(headers.get("Content-length", 0)) if message_len: data = r.getfile().read(message_len) else: data = r.getfile().read() ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=387667&aid=882321&group_id=26590 |