http - Parameters in Path Segments of URL -
there 1 interesting thing in url format:
parameters in path segments of url.
for more information see section "2.2.5" in
"o'reilly - http - definitive guide".
or in official specification https://www.ietf.org/rfc/rfc2396.txt section 3.3.
this book can found freely in internet.
let's consider following url:
http://www.example.com/first-segment/second-segment/index.html?type=helloworld here /first-segment/second-segment/index.html path part of url.
- and
first-segmentfirst segment of path second-segmentsecond segment of pathindex.htmlthird segment of path
it stated in book each segment have individual parameters separated semicolon ";". in our example be:
http://www.example.com/first-segment;f1=www/second-segment;s1=1;s2=2/index.html;i1=100;abc=200?type=helloworld - here
f1- parameterfirst-segment s1,s2- parameterssecond-segmenti1,abcparametersindex.html
the question is: know practical examples of such parameters in urls?
i not know example of parameters in path segment.
but close example connection , sftp parameters in (expired) sftp url proposal.
there's 1 proposed connection parameter, fingerprint ssh host key fingerprint:
sftp://username:password;fingerprint=ssh-dss-0b-77-...@example.com/ and 1 proposed sftp parameter, typecode transfer mode (ascii vs. binary). there's no official example, should like:
sftp://username:password@example.com/path/file;typecode=i (what actually, while semantically different, has syntax of "path" parameter)
Comments
Post a Comment