Commits

Anonymous committed a544b46

Fixed #499

  • Participants
  • Parent commits ef832f4

Comments (0)

Files changed (1)

cherrypy/filters/xmlrpcfilter.py

         # test if the content-length was sent
         length = cherrypy.request.headers.get('Content-Length') or 0
         ct = cherrypy.request.headers.get('Content-Type') or 'text/xml'
+        ct = ct.split(';')[0]
         return int(length) > 0 and ct.lower() in ['text/xml']
     
     def before_request_body(self):