def check_if_content(self, wb_url, environ): wb_url = WbUrl(wb_url) if (wb_url.is_replay()): environ['is_content'] = True if (self.content_host and not self.is_content_request() and wb_url.mod != '' and not wb_url.mod.startswith('$br:')): self.redir_host(self.content_host)