Cadaver, neon and "Expect: 100"

Henrik Holst henrik at witsbits.com
Fri Oct 24 07:27:09 EDT 2008


fre 2008-10-24 klockan 11:03 +0100 skrev Joe Orton:
> 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
> 
Thanks, I'll revert the cadaver patch and make it use this new flag (if
defined) instead.

/Henrik Holst





More information about the neon mailing list