Skip to content

Fragments from Request #2726

Discussion options

You must be logged in to vote

This seems like a misunderstanding, because the Fragment part of the URI is intended for client-side processing, so Rocket cannot access it, as it is never actually sent to the server. The purpose of the Fragment is to be used on the client-side to identify a part of a resource AFTER the client received it from the web server.

See Wikipedia:
"The fragment identifier functions differently to the rest of the URI: its processing is exclusively client-sided with no participation from the web server." ... "The agent sends the URI to the server, but does not send the fragment. Instead, the agent waits for the server to send the resource, and then the agent processes the resource according to th…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@nicolube
Comment options

Answer selected by nicolube
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants