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

leledumbo leledumbo_cool at yahoo.co.id
Tue Jan 20 18:12:40 CET 2015


> Because the header may have been set on purpose by the user. 

Even if the actual data sent is not of the same length?

> I will look at a mechanism to remove headers that were 'automatically'
> added.

How about a property ClearHeadersOnEachRequest (defaults to true for
backward compatibility)?



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



More information about the fpc-pascal mailing list