[LNet] New function LHttpClient.ClearExtraHeaders
Original Reporter info from Mantis: Dibo
-
Reporter name: Krzysztof Dibowski
Original Reporter info from Mantis: Dibo
- Reporter name: Krzysztof Dibowski
Description:
Hi,
I could not find way to clear LHttpClient headers. Example: I have some object of http client. I want use this same object in more than one request but on each request I want send different headers (e.g new session token added previously by AddExtraHeader method). I had always to free and recreate object. I decided to write patch. But please check this because headers are based on pointers (im not familiar in pointers), so I just free headers like in destructor and reinitialize like in constructor. This should be safe.
Regards.
Mantis conversion info:
- Mantis ID: 18954