Revoke HTTP Basic Authentication

2011-09-01 Thread Markus Hillenbrand
Hi In my scenario I am using a ChallengeAuthenticator with a special Verifier that checks username and password of a HTTP Basic Authentication with an external Java application: final ChallengeAuthenticator guard = new ChallengeAuthenticator(null,ChallengeScheme.HTTP_BASIC,REALM);

RE: Headers in 2.1

2011-09-01 Thread Jerome Louvel
Hi Alex, You are correct, this has already been fixed in the latest snapshots: http://www.restlet.org/documentation/snapshot/jse/api/org/restlet/Message.html#getAttributes%28%29 Best regards, Jerome -- Restlet ~ Founder and Technical Lead ~ http://www.restlet.o​rg Noelios Technologies ~

isAvailable() returning false on EmptyRepresentation

2011-09-01 Thread Alex Milowski
I've been using isEntityAvailable() as a guard for null representations and ran into a snag with HEAD requests. The server is returning the Content-Length and Last-Modified header on the HEAD request and the client's Response instance gets an EmptyRepresentation. By default, isAvailable() on