Cadaver, neon and "Expect: 100"

Joe Orton joe at manyfish.co.uk
Fri Oct 24 06:03:05 EDT 2008


On Thu, Oct 23, 2008 at 03:37:20PM +0100, Joe Orton wrote:
> On Thu, Oct 23, 2008 at 04:29:50PM +0200, Henrik Holst wrote:
> Yeah, I think it would make more sense to do this in neon.  I'd propose:
> 
> 1) add an NE_SESSFLAG_EXPECT100 session flag, defaults to off
> 2) default NE_REQFLAG_EXPECT100 to the session flag setting for each
> request
> 3) change ne_request.c:build_request() to only add the Expect header
> if *both* the NE_REQFLAG_EXPECT100 flag is set, and req->body_length is
> non-zero

I've committed this in r1578.  Regards, Joe





More information about the neon mailing list