users@grizzly.java.net

HTTP/1.1 Expect: 100-Continue

From: Ray Racine <ray.racine_at_gmail.com>
Date: Sat, 25 Oct 2008 16:44:06 -0400

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