[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: URIs harmful


Re:  URIs harmful

>
> 3) If you do an HTTP GET on an http: URI, you should expect to get
something
> back (though you may not because something is broken).  The thing you get
> back is just a representation of the actual thing that the URI identifies;
> what that actual thing is is decided by the authority creating the URI.
>
actually

4) If you do an HTTP GET on a http: URI you will get something back, if only
an error message from the protocol handler. The thing you get back ...

I do think that the use of the HTTP scheme in a URI rightly creates the
expectation that something at least slightly useful will be returned on a
successful dereference. The only good reason NOT to return some default
representation (other than 404) for every URI under your domain, is to catch
typos. In that sense a 404 can be considered, in some sense, a
representation.

Jonathan


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.