users@grizzly.java.net

Re: HTTP/1.1 Expect: 100-Continue

From: Ray Racine <ray.racine_at_gmail.com>
Date: Sat, 25 Oct 2008 19:17:58 -0400

Never mind, chair-and-keyboard. Not sure why my first code greps missed
it...
I found ACTION_ACK and Response.acknowledge().

R.

On Sat, Oct 25, 2008 at 4:44 PM, Ray Racine <ray.racine_at_gmail.com> wrote:

> Hello,
>
> I'm using Grizzly as an embedded HTTP kernel in a project. I've started by
> creating my own Adapter patterned after GrizzlyAdapter.
>
> The problem I'm having is how to respond to a HTTP PUT/POST client request
> with an Expect: 100-Continue header. Attempting to write a "100-Continue"
> via GrizzlyResponse or tcp.Response get entrapped as the payload to a HTTP
> 200 response.
>
> How can my Grizzly server code in service(req,resp) respond with
> "100-Continue" and not commit the normal response which will be sent later
> via GrizzlyResponse???
>
> Thanks,
>
> Ray
>