Defined self.request in dispatch before calling a view method that depends on it.