Make REST url matching strict
-----------------------------
Key: GEOS-3436
URL: http://jira.codehaus.org/browse/GEOS-3436
Project: GeoServer
Issue Type: Improvement
Components: REST
Affects Versions: 2.0-RC1
Reporter: Andrea Aime
Assignee: Justin Deoliveira
Fix For: 2.0-RC2
As noted in GEOS-3431 hitting a invalid URL does still return a page, and
usually with weird error messages in.
It is confusing, since the user will focus on the error message it got instead
of checking the URL.
As reported by Justin on GEOS-3431:
{panel}
I know that is lame, but its the way the restlet dispatcher matches uris. It
uses a best match algorithm. It is possible to make it strict and match
exactly. I remember bringing this up with David and I can't remember why we
could not do so... but there was some reason.
{panel}
I would like to at least know what the reason was, missing or confusing error
reporting is killer in protocols where one is supposed to build the messages
and urls by hand (or in any case where people still do build requests by hand
anyways like WFS, for that matter)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel