At Tue, 9 Oct 2007 22:29:19 +0200, "Jerome Louvel" <[EMAIL PROTECTED]> wrote: > Hi all, > > At the lower API level, we don't differentiate the HEAD from the GET > methods, see the org.restlet.Uniform class and subclasses like > Restlet. > > However, at the higher API levels, at the > org.restlet.resource.Resource level especially, we do go further by > adding implicit support for content negotiation, conditional > methods, HEAD implementation based on GET, etc. > > If you want to gain full control, you can always build > Restlet/Filter subclasses. > > However, I agree with the fact that the > Resource.handleGet/handleHead methods are a bit confusing, that's > why we'll move them to the Finder class in 1.1.
Thanks for the explanation. As an aside, the developers of curl have indicated that it is the expected behavior that when using the -X option the behavior not be modified based on what is passed to -X. So using curl -X HEAD results in GET-like behavior (wait for content) with a HEAD method. best, Erik ;; Erik Hetzner, California Digital Library ;; gnupg key id: 1024D/01DB07E3
pgpL0UsZaXCKu.pgp
Description: PGP signature

