[Patches] [ python-Patches-727805 ] Remove extra line ending in CGI XML-RPC responses

SourceForge.net noreply@sourceforge.net
Fri, 25 Apr 2003 16:21:34 -0700


Patches item #727805, was opened at 2003-04-25 16:21
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=727805&group_id=5470

Category: Library (Lib)
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Brian Quinlan (bquinlan)
Assigned to: Nobody/Anonymous (nobody)
Summary: Remove extra line ending in CGI XML-RPC responses

Initial Comment:
CGI XML-RPC output was being generated as follows:

print 'Content-Type: text/xml'
print 'Content-Length: %d' % len(response)
print
print response

Since the print statement appends a line ending to its 
output, the content-length reported was incorrect. Some 
clients don't like this.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=727805&group_id=5470