

def content_type(self, request=None, response=None):
    'Returns the content type that should be used by default for this endpoint'
    if callable(self.outputs.content_type):
        return self.outputs.content_type(request=self, response=response)
    else:
        return self.outputs.content_type

dataset/ETHPy150Open timothycrosley/hug/hug/interface.py HTTP.content_type/VarMisuse@41/72 `request`->`self`