'Get mime-type and format by file extension.
This only accepts "json".'

def getTypeByExtension(self, extension):

    if (extension.lower() != 'json'):
        raise KnownUnknown(('PostGeoJSON    only    makes    .json    tiles,    not    "%s"' % extension))
    return ('application/json', 'JSON')
