Sorry, maybe I am just being dumb.  Your claim is that the filename should be "contents", based on the
following rule: "The new file name is the simple name of the URI, i.e.,
all the characters following the last '/'".  Since the URI is
/database/contents/, there is nothing actually following the the last
'/'.  Based on this, I do not see why the filename should be
"contents", at least not based on the rule you cite.  I am going to give you the benefit of the doubt and assume you read my e-mail carefully.  If this is true, you must be using a different idea of 'last' than me, or in an alternative context where it actually refers to the second to last.  If this is the case, the write up is definitely not clear and I would like a further elaboration.
<br><br>To reiterate, I don&#39;t know quite what to make of the following list of &#39;special cases&#39;:<br><br>/ In this case, the simple name will be dir<br>foo/ In this case, the simple name will be foo<br>foo/. In this case, the simple name will be dot
<br>foo/.. In this case, the simple name will be dotdot<br><br>I was assuming, though not with absolute certainty, that these exceptions refer to the entire URI, i.e. if the URI is just &quot;/&quot;, the file name is &quot;dir.&quot;&nbsp; However, it&#39;s not quite clear what foo/ means, since for a URI like /database/contents/, it would seem the filename would be &quot;/database/contents&quot; but that doesn&#39;t look quite right.&nbsp; This is the particular case I decided to check.&nbsp; I thought it possible that instead the filename might be merely &quot;contents&quot;, based on the idea that &quot;foo&quot; was a generic variable meant *only* as substitution for the last directory (in which case the write up should have been explicit in specifying that &quot;foo/&quot; was actually more like &quot;/directory/directory/[...etc]/foo/.&quot;&nbsp; But your e-mail, while choosing the 2nd option, gives a completely different explanation than I don&#39;t understand at all.&nbsp; I&#39;m really tired from all the projects I&#39;m working on concurrently and I&#39;ll admit I am not fully literate at this point, but even so, I would opine that the write up and the explanation you gave are not clear and that my question merits a more detailed explanation.&nbsp; 
<br><br><div><span class="gmail_quote">On 10/24/07, <b class="gmail_sendername">Daniel Killebrew</b> &lt;<a href="mailto:dank@eecs.berkeley.edu" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">dank@eecs.berkeley.edu
</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Nescio Nomen wrote:<br>&gt; Once the client has retrieved an item from the server (via a 200 OK<br>&gt; reply), it constructs a local file name<br>&gt; into which to store the item. The new file name is the simple name of
<br>&gt; the URI, i.e., all the characters<br>&gt; following the last &#39;/&#39;. This handles all but a few special cases. In<br>&gt; these special cases, your client must create<br>&gt; these files according the simple names listed below.
<br>&gt; / In this case, the simple name will be dir<br>&gt; foo/ In this case, the simple name will be foo<br>&gt;<br>&gt; I don&#39;t understand that case. What&#39;s it supposed to catch?<br>&gt;<br>&gt; Is foo just a generic variable that stands for &quot;any and all characters
<br>&gt; before the last slash?&quot;<br>&gt;<br>&gt; So, for this request URI:<br>&gt;<br>&gt; /database/contents/<br>&gt;<br>&gt; foo would be:<br>&gt;<br>&gt; /database/contents<br> From the spec:<br>The new file name is the simple name of the URI, 
i.e., all the characters<br>following the last &#39;/&#39;.<br><br>therefore &#39;/database/&#39; is not part of &quot;all the characters following the<br>last /&quot;<br>so &#39;contents&#39; would be the filename.<br><br>
Please rid a bit more closely before asking questions.
<br><br>Daniel<br>&gt;<br>&gt; Is that correct?<br>&gt;<br>&gt; ------------------------------------------------------------------------<br>&gt;<br>&gt; _______________________________________________<br>&gt; ee122 mailing list
<br>&gt; <a href="mailto:ee122@mailman.ICSI.Berkeley.EDU" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">ee122@mailman.ICSI.Berkeley.EDU</a><br>&gt; <a href="http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/ee122" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/ee122
</a><br>&gt;<br><br></blockquote></div><br>