code: def dispatch_request(self, *args, **kwargs):
          
          if request.method in ('POST', 'PUT'):
              return_url, context = self.post(*args, **kwargs)
              if return_url is not None:
                  return redirect(return_url)
          elif request.method in ('GET', 'HEAD'):
              context = self.get(*args, **kwargs)
          return self.render_response(self.context(context))
docs: Dispatch the request.
          Its the actual ``view`` flask will use.