Changeset 784
- Timestamp:
- 11/04/05 14:04:05
- Files:
-
- trunk/cherrypy/lib/filter/xmlrpcfilter.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/cherrypy/lib/filter/xmlrpcfilter.py
r768 r784 1 1 ########################################################################## 2 2 ## Remco Boerma 3 ## Sylvain Hellegouarch 3 4 ## 4 5 ## History: 6 ## 1.0.5 : 2005-11-04 Fixed Content-Length bug (http://www.cherrypy.org/ticket/384) 5 7 ## 1.0.4 : 2005-08-28 Fixed issues on input types which are not strings 6 8 ## 1.0.3 : 2005-01-28 Bugfix on content-length in 1.0.2 code fixed by … … 190 192 191 193 encoding = cherrypy.config.get('xmlRpcFilter.encoding', 'utf-8') 192 194 193 195 cherrypy.response.body = [xmlrpclib.dumps( 194 196 (cherrypy.response.body,), … … 197 199 allow_none=1)] 198 200 cherrypy.response.headerMap['Content-Type'] = 'text/xml' 199 cherrypy.response.headerMap['Content-Length'] = `len(cherrypy.response.body)`201 cherrypy.response.headerMap['Content-Length'] = len(cherrypy.response.body[0]) 200 202 201 203 def beforeErrorResponse(self):

