Implement the rest of the HTTP require_* decorators and HttpResponse* classes
|Reported by:||zhirsch||Owned by:||nobody|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I've been using Django to implement a few JSON web services, and I've found myself writing the (trivial) require_PUT, require_DELETE, etc. decorators to parallel those already defined in django/views/decorators/http.py. I've also found myself writing the (again, trivial) HttpResponseCreated, HttpResponseNoContent, etc. classes to parallel those in django/http/__init__.py.
I think it would be nice if these were built-in to Django, since they're easy to write, don't cause much overhead, and are pretty useful to have. Rather than cherry-pick the ones that I've used, or the ones that I think would be most useful, I've just done through the HTTP RFC and added them all. A patch is attached.