gpt4 book ai didi

python - 你如何在 webapp2.RequestHandler 中获取 anchor /片段/尖锐?

转载 作者:太空狗 更新时间:2023-10-30 02:34:13 24 4
gpt4 key购买 nike

我似乎找不到允许我获取 www.domain.com/#something 的#something 部分的属性。我试过 self.request.url、self.request.path、self.request.uri 等,这些不包括 url 的 anchor 部分。我该怎么做才能获得锚定部分?

最佳答案

来自 http://en.wikipedia.org/wiki/Fragment_identifier#Basics .

Clients are not supposed to send URI-fragments to servers when they retrieve a document

关于python - 你如何在 webapp2.RequestHandler 中获取 anchor /片段/尖锐?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9366261/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com