def dispatch(self, *args, **kwargs):
        try:
            return super(NapView, self).dispatch(*args, **kwargs)
        except http.BaseHttpResponse as exc:
            return exc
Are the applications in this session running in a portlet or
dataset/ETHPy150Open funkybob/django-nap/nap/rest/views.py/NapView.dispatch--crossover with--dataset/ETHPy150Open rwl/muntjac/muntjac/terminal/gwt/server/abstract_communication_manager.py/IRequest.isRunningInPortlet