How to get binding / fragment / sharpness in webapp2.RequestHandler?

I can not find an attribute that allows me to get the # part of the www.domain.com/#something part. I tried self.request.url, self.request.path, self.request.uri etc., they do not contain the anchor part of the url. What should I do to get the support part?

+4
source share
2 answers

From http://en.wikipedia.org/wiki/Fragment_identifier#Basics .

Clients should not send URI fragments to servers when they receive a document

+5
source

JavaScript must be running in the browser, which can access the fragment identifier and make an AJAX request for the really needed data. See Raganwald's answer to this SO question: What is shebang / hashbang (#!) On Facebook and the new Twitter URLs for?

+1
source

Source: https://habr.com/ru/post/1397477/


All Articles