【发布时间】:2018-09-11 21:33:11
【问题描述】:
我需要像下面这样访问问号后的句子(我正在使用flask和python):
http://localhost:8000/answer?the new book is added
我使用以下代码:
query_string = request.query_string
我知道 URL 中不允许出现空格,但有没有办法可以再次将 %20 解码为空格?
【问题讨论】:
标签: url flask urllib request.querystring