users@grizzly.java.net

response to HEAD

From: Jon Brisbin <jon_at_jbrisbin.com>
Date: Thu, 21 Jul 2011 16:07:35 -0500 (CDT)

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