users@grizzly.java.net

Re: response to HEAD

From: Oleksiy Stashok <oleksiy.stashok_at_oracle.com>
Date: Fri, 22 Jul 2011 12:00:22 +0200

I just tried HEAD method and it works with curl as expected (curl
doesn't wait for content).
Any testcase?

WBR,
Alexey.

On 07/21/2011 11:07 PM, Jon Brisbin wrote:
> How do I stop the response stream when responding to a HEAD? I'm
> sending a content-length but no body and curl seems to be expecting a
> body.
>
> I've tried resume() ing and cancel()ing and everything. The connection
> is still blocking until I send the content. What do I need to do
> differently here?
>
>
> Thanks!
>
> Jon Brisbin
> http//jbrisbin.com
>
>