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

Changeset 1027

Show
Ignore:
Timestamp:
03/29/06 04:54:19
Author:
rdelon
Message:

Fixed #499

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/cherrypy/filters/xmlrpcfilter.py

    r996 r1027  
    112112        length = cherrypy.request.headers.get('Content-Length') or 0 
    113113        ct = cherrypy.request.headers.get('Content-Type') or 'text/xml' 
     114        ct = ct.split(';')[0] 
    114115        return int(length) > 0 and ct.lower() in ['text/xml'] 
    115116     

Hosted by WebFaction

Log in as guest/cpguest to create tickets