next_url = request.path_info
print(next_url)
print(request.get_full_path()) //打印出全路径(路径和参数)
print(request.path_info) //取当前请求的路径
本文共 187 字,大约阅读时间需要 1 分钟。
next_url = request.path_info
print(next_url)
print(request.get_full_path()) //打印出全路径(路径和参数)
print(request.path_info) //取当前请求的路径
转载于:https://www.cnblogs.com/Paul-watermelon/p/10765062.html