[fpc-pascal] Cannot reuse TFPHTTPClient object for 2 different POST requests

leledumbo leledumbo_cool at yahoo.co.id
Wed Jan 21 07:10:26 CET 2015


> You cannot always trust the Size property of a stream. 

Err...OK

> That is not quite correct, because that will also clear any custom headers
> you may want to set. 
> Cookies, Accept-encoding and so on. 

Exactly what I have in mind, just need to document it somewhere.
Anyway, the default should be false, I was thinking the other way around.



--
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Cannot-reuse-TFPHTTPClient-object-for-2-different-POST-requests-tp5720779p5720818.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.



More information about the fpc-pascal mailing list