You are working on the pallets/werkzeug repository. The source code is checked out at /testbed at commit…
You are working on the pallets/werkzeug repository. The source code is checked out at /testbed at commit…: a task in SWE-Lego-RL-2699 (Harbor dataset). from werkzeug import routing as r m = r.Map( ... r.Rule('/', endpoint='index', host='www.domain.com'), ... r.Rule('/', endpoint='index'…
The task
>>> from werkzeug import routing as r >>> m = r.Map([ ... r.Rule('/', endpoint='index', host='www.domain.com'), ... r.Rule('/', endpoint='index', host='my.domain.com'), ... ], host_matching=True) >>> www = m.bind('www.domain.com') >>> my = m.bind('my.domain.com') >>> www.match('/') ('index', {}) >>> my.match('/')…
Part of Lego-X/Lego-RL-2699.