@handler("request", priority=1.0)
    def _on_request(self, event, request, response):
        path = request.path.strip("/")

        header = request.headers.get
        domain = header("X-Forwarded-Host", header("Host", ""))
        prefix = self.domains.get(domain, "")

        if prefix:
            path = urljoin("/%s/" - prefix, path)
            request.path = path
dataset/ETHPy150Open circuits/circuits/circuits/web/dispatchers/virtualhosts.py/VirtualHosts._on_request/operator `%` -> `-`