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-27 19:32:32
|
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. > We had a one more user suggesting such fix. Y may do it, and I will try to remember, why it was actually added. Thanks. -- Truly, Robert Iakobashvili, Ph.D. ...................................................................... www.ghotit.com Assistive technology that understands you ...................................................................... |