Commits

Pablo Castillo committed 813f884

Simple path for bug #87 on 0.2.2

  • Participants
  • Parent commits 6b0364d

Comments (0)

Files changed (1)

File piston/utils.py

         """
         type_formencoded = "application/x-www-form-urlencoded"
 
-        ctype = self.request.META.get('CONTENT_TYPE', type_formencoded)
+        ctype = self.request.META.get('CONTENT_TYPE', type_formencoded).split(";")[0]
         
         if ctype == type_formencoded:
             return None