Hi,
Restlet (1.2M) is refusing to set the content-location header and I can't seem 
to find a method that will let me set it.  Does anyone know how to set the 
content-location header?

Here's the code that I have tried:

// *** Try setting the Content-Location header: restlet refuses with a log 
warning! ***
Series<Parameter> headers = new Form();
headers.add("Content-Location", request.getOriginalRef().toString());
response.getAttributes().put("org.restlet.http.headers", headers);

// Set the location header: this works
response.setLocationRef(locaationURI);

It seems like my code is working but restlet doesn't want to let me set the 
content-location header.  It wants me to use an API method; but I can't find 
one.  Any suggestions?

Thanks,
T

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=1323618

Reply via email to