Cadaver, neon and "Expect: 100"

Henrik Holst henrik at witsbits.com
Thu Oct 23 10:29:50 EDT 2008


I have commited a patch to cadaver which makes use of the expect100
run-time option which has been available in cadaver for years with out
actually being used.

Since neon does not support the setting of request flags for the basic
functions, I had to make a local copy of ne_put() into the cadaver
source; cadaver_put().

This of course opens up the question whether this should be done in
cadaver or in neon?! I can see no clean way to make it happen i neon
other than setting a flag on the session, which doesn't feel clean since
one perhaps could get the impression that every request from that moment
on would enable Expect100.

Anyways if this is more acceptable, I have a small patch for that as
well (only uses the flag for ne_put, ne_post and ne_proppatch since
Expect100 is only usable when uploading data).

/Henrik Holst
Witsbits AB - The Digital Utility





More information about the cadaver mailing list