request.path /page.htmlrequest.script_root /myapplicationrequest.base_url http://www.example.com/myapplication/page.htmlrequest.url http://www.example.com/myapplication/page.html?x=yrequest.url_root http://www.example.com/myapplication/
request.referrer
request.args GET params
References :
python - Flask request fields to get url path - Stack Overflow
沒有留言:
張貼留言