Re: HEAD requests

Hi Melvin,



On Tue, Sep 10, 2013 at 9:34 AM, Melvin Carvalho
<melvincarvalho@gmail.com>wrote:

> Is it a requirement of LDP servers to support HEAD requests as well as
> GET.  Is it implied that since you can do a GET, you will be able to do a
> HEAD?
>

Yes, that is the case.  It is not implied really, it is explicitly stated
in the spec that you need to support HEAD.  The motivation (recalling WG
discussions) was that a number of scenarios were seen as valuable to be
able to do various tests on the URL and also receive additional data (such
as paging and type headers), instead of needing to fetch the entire
resource (perhaps a container and all its members).  Also the effort to
support HEAD in addition to GET is relatively small (just omit the entity
body in the response).

Hope that helps,
- Steve Speicher

Received on Tuesday, 10 September 2013 14:16:01 UTC