[ee122] UNIX and FileNameChar
fowler at eecs.berkeley.edu
Fri Oct 12 14:30:51 PDT 2007
On 10/12/07, Richard Schmidt <huntingtonsurfca at gmail.com> wrote:
> The http protocol says that a valid file URI consists of:
> Path = "/" *FileNameChar
> FileNameChar = ALPHA | DIGIT | "." | "-" | " " | "/"
> That means that a valid path could be:
> If this is true, what is the file extension?
Great question. Yes it is true. The file extension is non-existent.
> What is the directory that the client wished to access?
If "dir" is a directory: /folder.root/newFolder.index.html/dir/
If "dir" is a file: /folder.root/newFolder.index.html/
I hope this helps!
> If I could have the answer to these two questions, I think I'd know
> exactly how I am expected to implement these retrievals. Thank you.
> ee122 mailing list
> ee122 at mailman.ICSI.Berkeley.EDU
More information about the ee122