Re: Is it possible to use data from the response header to a POST in a subsequent GET?
Status: Alpha
Brought to you by:
coroberti
From: Robert I. <cor...@gm...> - 2008-10-31 12:06:23
|
Hi Gary, On Mon, Oct 27, 2008 at 8:38 PM, Gary Fitts <ga...@in...> wrote: > Thanks for replying, Robert. > > > Actually, when cctx->post_data is allocated, > > it should be set zero to the first char, like > > cctx->post_data[0] = '\0'; > > > Yes, cctx->post_data[0] is set to zero, and that's the problem. This > causes the condition "else if (cctx->post_data && cctx->post_data[0])" > to fail, and to drop through to the "post_data is NULL" error, which > aborts the batch run. > > When I comment out the second part: "else if (cctx->post_data /* && > cctx->post_data[0] */)", we call init_client_url_post_data, and this > seems to work. > Committed your fix. You and Alex, which reported this issue previously, have been added to our THANKS list. Thank you very much! -- Truly, Robert Iakobashvili, Ph.D. ...................................................................... Assistive technology that understands you ...................................................................... |