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

Re: [Ftpapi] Fw: Pulling partial chunks of data



Hi Chris,


The HTTP protocol allows the server (not the client where HTTPAPI is) to decide whether the data is sent using the chunked or identity transfer coding.   You seem to want to disable the chunked method -- can you explain why?  Doing so would violate the HTTP specs, and would require you to change the server-side software as well.  


What are you trying to achieve by doing this?


-SK



On 8/27/2020 11:02 AM, Hayden, Christopher 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?


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