> 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. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal