scala - How to find the #fragment in a URL in Lift -
i'm pretty new lift, , 1 of things i've been trying find how to, in context of snippet, find '#' in current page's url. if user visits http://www.example.com/some/path/page#stuff
extract "stuff" that. i've been googling , searching api docs , have yet find this.
i don't think part behind #
ever gets sent server in first place.
that's wikipedia has it:
in uris hashmark # introduces optional fragment near end of url. generic rfc 3986 syntax uris allows optional query part introduced question mark ?. in uris query , fragment fragment follows query. query parts depend on uri scheme , evaluated server — e.g., http: supports queries unlike ftp:. fragments depend on document mime type , evaluated client (web-browser). clients not supposed send uri-fragments servers when retrieve document, , without local application (see below) fragments not participate in http redirections.
Comments
Post a Comment