I have a URL route in my web.py application that I want to run to catch all URLs that hit the server, but only after any static assets are served.
For example, if theres is js/test.js in my static
directory, the path http://a.com/js/tests.js
should return the file contents. But I also have my url routing set up so that there is a regex that catches everything like this:
urls = ( /.* , CatchAllHandler )
因此,如果未发现固定资产,就应当使用test.js
,但请求将<代码>http://a.com/js/nope.js 页: 1 Catch AllHandler。
我仔细研究一下我自己的统计信息,但只有在网络运行秩序发生变化时才会有所帮助。 目前,中风电线在经过路面处理后即行。 我首先需要中间电线,让ur路清理没有固定资产的要求。
我的想法是,利用并非想象的()功能作为我的追随者,但这可能不是最好的。