Other thing. http client is a "remake" of fphttpclient. The structure is pluggable and not monolitic. So you can change base autorization mecanism with barel mecanism. For example. You can activate or not a "middleware" (piece of code that alterate behavior of client class). You can add new encoder for request messages. The encoder clone request before send message, so untouch the original request message instance. I've taken ispiration from slim framework (php world) for "middleware" class name.
-- Marco
-- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus