08-27-2018, 03:39 PM
Hello,
I am using Indy 10 version 10.6.2.0 on C++ Builder 6.0 Professional Edition ( Windows10 ).
I need to use the Put method of TIdHTTP, but it is sending headers before the stream of requests.
How can I avoid those headers or at least put the headers I need before automatic headers ?
Thank you very much.
I am using Indy 10 version 10.6.2.0 on C++ Builder 6.0 Professional Edition ( Windows10 ).
I need to use the Put method of TIdHTTP, but it is sending headers before the stream of requests.
Code:
PUT ************* HTTP/1.1
// I need to put the stream here, before the following headers
Content-Length: 313
Host: 127.0.0.1:3004
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
User-Agent: Mozilla/3.0 (compatible; Indy Library)
How can I avoid those headers or at least put the headers I need before automatic headers ?
Thank you very much.