Topic: WinHttp and ICAP server
All greetings! Is ICAP the server. It is necessary to interact and send with it there files. Itself I do not hasten to implement yet ICAP protocol and wanted to take an interest, whether it is possible to use for this purpose WinHttp? As I fluently esteemed in WinHttp algorithm of interaction with the server about the such: WinHttpOpen-> WinHttpConnect-> WinHttpOpenRequest (GET, POST, etc)-> and further ... I need to create the title which under specification ICAP looks approximately so: REQMOD icap://icap-server.net/server? arg=87 ICAP/1.0 Host: icap-server.net Encapsulated: req-hdr=0, req-body=147 POST/origin-resource/form.pl HTTP/1.1 Host: www.origin-server.com Accept: text/html, text/plain Accept-Encoding: compress Pragma: no-cache 1e I am posting this information. 0 I.e. before title POST there is still specific for ICAP a preamble. WinHttpOpenRequest as I understood, title with GET, POST, etc, and WinHttpAddRequestHeaders adds the new data after. I.e. I need to create the request and to send it on ICAP the server. Means WinHttp it is possible somehow hands given to do and send? In advance thanks!