edx/edx-platform — pull request #2197 by nedbat (2014-01-16 17:26:30+00:00)
Title: Make a ResponseType registry.

And while I was in there, I made it a decorator, so it's nicer to use.