This content has been marked as final.
Show 1 reply
-
1. Re: Restlet - how to set Locaton header (OData requires this)
milanmilas Apr 15, 2013 8:44 AM (in response to milanmilas)response.setStatus(Status.SUCCESS_CREATED);
instead of
response.setStatus(Status.SUCCESS_NO_CONTENT);
is working.
It looks like Restlet is filtering headers based on the respone code.
response.setStatus(Status.SUCCESS_CREATED);
response.setLocationRef("http://localhost:8887/IVRInterface/CreateShiftRequestTypes(0)");