测试了一下:通过发送 GET 到 http://127.0.0.1:5000/test/a?x=1,

后台输出为(官网说明):

1 request.path: /test/a
2 request.host: 127.0.0.1:5000
3 request.host_url: http://127.0.0.1:5000/
4 request.full_path: /test/a?x=1
5 request.script_root: 
6 request.url: http://127.0.0.1:5000/test/a?x=1
7 request.base_url: http://127.0.0.1:5000/test/a
8 request.url_root: http://127.0.0.1:5000/

相关文章:

  • 2021-11-30
  • 2021-07-27
  • 2021-09-15
  • 2021-07-11
  • 2022-12-23
  • 2022-12-23
  • 2021-09-08
猜你喜欢
  • 2022-12-23
  • 2022-01-02
  • 2021-12-14
  • 2022-12-23
  • 2022-12-23
  • 2021-07-09
  • 2021-06-20
相关资源
相似解决方案