According to coverage, we never test the `request is None` case of this conditional.