selfrequest -> self.request

Trivial typo fix.