dev@jsr311.java.net

Re: HEAD and OPTIONS

From: Bill de hOra <bill_at_dehora.net>
Date: Fri, 29 Jun 2007 12:53:41 +0100

Dhanji R. Prasanna wrote:

> That's not necessary:
>
> @HttpMethod(HEAD)
> Response head() {
> return headInternal().build();
> }
>
>
> @HttpMethod(HEAD)
> Response get() {
> return headInternal().entity(en).build();
> }

Dhanji, did you mean:

@HttpMethod(GET)
Response get() {
    return headInternal().entity(en).build();
}

cheers
Bill