RE: improving Protocol.valueOf()
You're right! thanks for the tip! -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=1023309
RE: Looking for a way to access Date header
Hi Jerome, Thanks for the feedback, Restlet 1.2 looks pretty interesting, there is a date set for this release? -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=1023335
improving Protocol.valueOf()
Hi, I think the behavior of Protocol.valueOf() could be improved. What do you think of Protocol.valueOf(http://www.restlet.org/;).equals(Protocol.HTTP) resulting in true? -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=1016889
Looking for a way to access Date header
Hi, The link below is not clear whether this header is currently supported by the Restlet API: http://wiki.restlet.org/docs_1.1/13-restlet/27-restlet/130-restlet.html I tried to look in response.getDate but without success, so how are you guys doing to get the date associated with the server response? Thanks, CA -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=1011777
Looking for a way to access Date header
Hi, The link below is not clear whether this header is currently supported by the Restlet API: http://wiki.restlet.org/docs_1.1/13-restlet/27-restlet/130-restlet.html I tried to look in response.getDate but without success, so how are you guys doing to get the date associated with the server response? -- Carlos Alexandre Moscoso
Re: How to prevent access to nested directories?
Hi, Now it seems to work for me, thanks. 2008/9/11 Thierry Boileau [EMAIL PROTECTED]: Mail sent on the 08/22 and apparently lost. --- Hi Carlos, thanks again for your report, I've upated the svn repository. A new snapshot (called unstable in the following page http://www.restlet.org/downloads/) will be available tomorow morning. Best regards, Thierry Boileau -- Restlet ~ Core developer ~ http://www.restlet.org Noelios Technologies ~ Co-founder ~ http://www.noelios.com Hi, I want to restrict access to the nested directories inside the root directory but I don't know how to accomplish this. I tried to set deepaccessible property to false but doesn't work because I'm still getting access to the directories within the ROOT_DIR. Here's what I'm trying to do (using restlet-1.1m4): @Override public synchronized Restlet createRoot() { Directory directory = new Directory(getContext(), file:/// + ROOT_DIR); directory.setDeeplyAccessible(false); Router router = new Router(getContext()); router.attach(site, Site.class).getTemplate().setMatchingMode(Template.MODE_EQUALS); router.attach(files, directory); return router; } Can anybody help me with this? -- Carlos Alexandre Moscoso
How to prevent access to nested directories?
Hi, I want to restrict access to the nested directories inside the root directory but I don't know how to accomplish this. I tried to set deepaccessible property to false but doesn't work because I'm still getting access to the directories within the ROOT_DIR. Here's what I'm trying to do (using restlet-1.1m4): @Override public synchronized Restlet createRoot() { Directory directory = new Directory(getContext(), file:/// + ROOT_DIR); directory.setDeeplyAccessible(false); Router router = new Router(getContext()); router.attach(site, Site.class).getTemplate().setMatchingMode(Template.MODE_EQUALS); router.attach(files, directory); return router; } Can anybody help me with this? -- Carlos Alexandre Moscoso