toastdriven/django-tastypie — pull request #695 by santiagobasulto (2012-10-12 14:17:20+00:00)
Title: Moved X-HTTP-Method-Override into method_check in order to support custom methods

Some time ago support for X-HTTP-Method-Override was added (https://github.com/toastdriven/django-tastypie/pull/593).

We're using AWS Load Balancer and they block our PATCH requests, so we tried to use this method.

The problem is that we have lost of custom methods, similar to the one noted in the docs: http://django-tastypie.readthedocs.org/en/latest/cookbook.html#adding-search-functionality

So I just moved the override method to `method_check`, now everything is working like a charm!

Rgds.