Parameters in Path Segments of URL
<p>There is one interesting thing in URL format:<br>
Parameters in Path Segments of URL.</p>

<p>For more information see section "2.2.5" in<br>
"<strong>O'Reilly - HTTP - The Definitive Guide</strong>".</p>

<p>This book can be found freely in Internet.</p>

<p>or in official specification
<a href="https://www.ietf.org/rfc/rfc2396.txt" rel="nofollow noreferrer">https://www.ietf.org/rfc/rfc2396.txt</a>
section 3.3.</p>

<blockquote>
  <p>3.3. Path Component</p>
  
  <p>The path component contains data, specific to the authority (or the
  scheme if there is no authority component), identifying the resource<br>
  within the scope of that scheme and authority.</p>

<pre><code>  path          = [ abs_path | opaque_part ]

  path_segments = segment *( "/" segment )
  segment       = *pchar *( ";" param )
  param         = *pchar

  pchar         = unreserved | escaped |
                  ":" | "@" | "&amp;" | "=" | "+" | "$" | ","
</code></pre>
</blockquote>

<p>Let's consider the following URL:</p>

<pre><code>http://www.example.com/first-segment/second-segment/index.html?type=HelloWorld
</code></pre>

<p>Here <code>/first-segment/second-segment/index.html</code> is a Path part of URL.</p>

<ol>
<li>And <code>first-segment</code> is a first segment of that Path</li>
<li><code>second-segment</code> is a second segment of that Path</li>
<li><code>index.html</code> is a third segment of that Path</li>
</ol>

<p>It is stated in that book that each segment could have individual Parameters separated by semicolon ";". In our example it could be:</p>

<pre><code>http://www.example.com/first-segment;f1=WWW/second-segment;s1=1;s2=2/index.html;i1=100;abc=200?type=HelloWorld
</code></pre>

<ol>
<li>Here <code>f1</code> - parameter for <code>first-segment</code></li>
<li><code>s1</code> and <code>s2</code> - parameters for <code>second-segment</code></li>
<li><code>i1</code> and <code>abc</code> parameters for <code>index.html</code></li>
</ol>

<p>The question is: do you know any practical examples of such Parameters in URLs?</p>