Implement a 'format registry', for responding differently depending on Accept headers

a missing function, e.g. no default function for defaultOutput format, returns a 415 error?

try:
   return ...
except KeyError
   return twisted.web.resource.ErrorPage(code=415)