Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.9.2
-
Fix Version/s: 1.9.7
-
Component/s: Zend_Rest_Route
-
Labels:None
Description
Hi,
from my understanding of RESTful protocol, the server side is supposed to accept a request like this:
/REST/1
It should also be able to interpret
/REST/?id=1 or /REST/type="x"
In the current implementation however we can only do the first kind of url. Is it up to us to test for is sent and act accordingly?
JR
Typically, ReST says that there should be a single URI for any given resource, and that it should be returned in the Location header on successful creation. While it may be useful to support both styles, it would also add significant complexity for very little benefit.
Luke, any thoughts on this?