Issue 727805: Remove extra line ending in CGI XML-RPC responses (original) (raw)

Issue727805

Created on 2003-04-25 23:21 by bquinlan, last changed 2022-04-10 16:08 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
extra-ending.diff bquinlan,2003-04-25 23:21 Patch
Messages (2)
msg43491 - (view) Author: Brian Quinlan (bquinlan) * (Python committer) Date: 2003-04-25 23:21
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.
msg43492 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2003-05-01 05:05
Logged In: YES user_id=21627 Thanks for the patch. Applied as DocXMLRPCServer.py 1.3 SimpleXMLRPCServer.py 1.5
History
Date User Action Args
2022-04-10 16:08:20 admin set github: 38371
2003-04-25 23:21:33 bquinlan create