Hello Larry,
first of all, I apologize to you for this too late answer.
You're totally right, and I've just updated the svn repository with your
fix. It will be officially delivered in the next 1.0.6 release.
Thanks for your help.
best regards,
Thierry Boileau
I had a problem when testing a client that gets an HTML page (which comes up
fine in the Firefox browser). I got a Response, and when I call getEntity() to
get the Representation, I get the error
Invalid tag format detected: /7354-1178329344000
at org.restlet.data.Tag.parse(Tag.java:69)
in Tag.java, at line 58, I see
if (httpTagCopy.startsWith(W)) {
weak = true;
httpTagCopy = httpTagCopy.substring(1);
}
If I read the HTTP spec (section 3.11) correctly, I believe this should be
changed to
if (httpTagCopy.startsWith(W/)) {
weak = true;
httpTagCopy = httpTagCopy.substring(2);
}
I haven't yet tried to build the whole restlet project, but I modified and
compiled Tag.java and updated org.restlet.jar. Now the client can get the
page OK.