Commits

Jesper Nøhr committed ca281ce

content_type is lose, fixes #99

Comments (0)

Files changed (1)

 
         ctype = self.request.META.get('CONTENT_TYPE', type_formencoded)
         
-        if ctype.startswith(type_formencoded):
+        if type_formencoded in ctype:
             return None
         
         return ctype