Retrieving the url anchor in a werkzeug request

前端 未结 3 2021
萌比男神i
萌比男神i 2020-12-10 14:50

I have a DAV protocol that stores out-of-band data in the url anchor, e.g. the ghi in DELETE /abc.def#ghi. The server is a Flask application.

3条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-10 15:37

    From Wikipedia (Fragment Identifier) (don't have the time to find it in the RFC):

    The fragment identifier functions differently than the rest of the URI: namely, its processing is exclusively client-side with no participation from the server

    So Flask - or any other framework - doesn't have access to #ghi.

提交回复
热议问题