This repository was archived by the owner on Feb 21, 2020. It is now read-only.

Description
There are subtle differences between representations for a resource, namely an HTML vs. JSON representation. An HTML representation may contain implementation specific components while a JSON representation may be agnostic to a particular implementation.
This proxy resource would act as the default, but would check for registered resources that provide the requested representation.
# hypothetically..
class Resource(ProxyResource):
media_types = {
'application/json': JSONResource,
'text/html': HTMLResource,
}