Download Install Tutorial Docs FAQ Tools WikiLicense Team IRC Planet Involvement Shop Book

Changeset 962

Show
Ignore:
Timestamp:
02/08/06 02:04:45
Author:
fumanchu
Message:

Fix for xmlprcfilter (2.1 branch; the trunk doesn't need this because response.body magically handles its own iteration).

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/cherrypy-2.1/cherrypy/lib/filter/xmlrpcfilter.py

    r750 r962  
    223223            allow_none=1)] 
    224224        cherrypy.response.headerMap['Content-Type'] = 'text/xml' 
    225         cherrypy.response.headerMap['Content-Length'] = `len(cherrypy.response.body)` 
     225        cherrypy.response.headerMap['Content-Length'] = len(cherrypy.response.body[0]) 
    226226     
    227227    def beforeErrorResponse(self): 

Hosted by WebFaction

Log in as guest/cpguest to create tickets