[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ftpapi] Pulling partial chunks of data



That's how things work with HTTP 1.1 and up. Either content length and all the data or chunks of data at a time.

If you can set HTTP version to 1.0 on the request that MAY turn off chunking, but either way the chunking or not should be transparent to your application and you'll still get the response back.

On Thu, Aug 27, 2020 at 1:21 PM Hayden, Christopher <Chris.Hayden@xxxxxxxxxxxxx> wrote:
program is using "http_url_post"

appears to be pulling partial chunks of data at random and full chunks other times?


http_response "HTTP 200 OK" 

return code "-1"  for partial 

return code "0" for full chunks of data


have already increased the field size for the value coming back


for the "http_url_post"  don't see an parameter for TURNING OFF chunk data or CONTENT LENGTH


the procedure RECV_DOC has the parameter, no example program provided in LIBHTTP 


suggestions?



Chris Hayden

Core-Mark Midcontinent, Inc.  DBA Farner-Bocken Company

Email: chris.hayden@xxxxxxxxxxxxx

 

3D1E3150


--
_______________________________________________
Ftpapi mailing list
Ftpapi@xxxxxxxxxxxxxxxxxxxxxx
http://scottklement.com/mailman/listinfo/ftpapi
-- 
_______________________________________________
Ftpapi mailing list
Ftpapi@xxxxxxxxxxxxxxxxxxxxxx
http://scottklement.com/mailman/listinfo/ftpapi