OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Best Practice for URI construction?

[ Lists Home | Date Index | Thread Index ]

> >a link doesn't work. As an example, if
> >
> >http://somewhere.org/US/IL/
> >
> >is a valid URL, then truncating this to
> >
> >http://somewhere.org/US/
> >
> >should both work and provide meaningful information.
>
> People who do this commit web architecture crime, the TAG commands
> "People making use of URIs SHOULD NOT attempt to infer properties
> of the referenced resource".
>

Are you arguing that a portion of a path that makes up a part of
another path should be able to return a 404?

I can understand a portion of a path returns some other error, or course.

that is to say
http://somewhere.org/US/IL/
is a 200
but
http://somewhere.org/US/
is not found?

Because I would argue that with a longer path which is found I can
infer that all the parts of that path are found as well.




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS