  class OverloadedPOSTMethodMixin(MethodMixin):
      """Provide for overloaded POST behaviour."""
  
      """The name to use for the method override field in the POST form."""
      FORM_PARAM_METHOD = '_method'
  
      def determine_method(self, request):
          """Simply return GET, POST etc... as appropriate, allowing for POST overloading
          by setting a form field with the requested method name."""
          method = request.method.upper()
 
</s> remove         if method == 'POST' and self.FORM_PARAM_METHOD and request.POST.has_key(self.FORM_PARAM_METHOD):
            method = request.POST[self.FORM_PARAM_METHOD].upper()
 </s> add         if method == 'POST' and self.METHOD_PARAM and request.POST.has_key(self.METHOD_PARAM):
            method = request.POST[self.METHOD_PARAM].upper() </s> remove     FORM_PARAM_CONTENT = '_content'
 </s> add     CONTENT_PARAM = '_content' </s> remove     FORM_PARAM_CONTENTTYPE = '_contenttype'
 </s> add     CONTENTTYPE_PARAM = '_contenttype' </s> remove     
    
    def determine_method(self, request):
        """Determine the HTTP method that this request should be treated as.
        Allows PUT and DELETE tunneling via the _method parameter if METHOD_PARAM is set."""
        method = request.method.upper()

        if method == 'POST' and self.METHOD_PARAM and request.POST.has_key(self.METHOD_PARAM):
            method = request.POST[self.METHOD_PARAM].upper()
        
        return method
 </s> add  </s> remove     ACCEPT_QUERY_PARAM = '_accept'        # Allow override of Accept header in URL query params
    METHOD_PARAM = '_method'              # Allow POST overloading in form params
    CONTENTTYPE_PARAM = '_contenttype'    # Allow override of Content-Type header in form params (allows sending arbitrary content with standard forms)
    CONTENT_PARAM = '_content'            # Allow override of body content in form params (allows sending arbitrary content with standard forms) 
 </s> add     ACCEPT_QUERY_PARAM = '_accept'        # Allow override of Accept header in URL query params    CONTENTTYPE_PARAM = '_contenttype'    # Allow override of Content-Type header in form params (allows sending arbitrary content with standard forms)
    METHOD_PARAM = '_method'
  class OverloadedPOSTMethodMixin(MethodMixin):
      """Provide for overloaded POST behaviour."""
  
      """The name to use for the method override field in the POST form."""
    METHOD_PARAM = '_method'
  
      def determine_method(self, request):
          """Simply return GET, POST etc... as appropriate, allowing for POST overloading
          by setting a form field with the requested method name."""
          method = request.method.upper()
keep keep keep keep replace keep keep keep keep keep
 Refactor a bunch of stuff into mixins, more tests 
djangorestframework/methods.py