Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TIdHTTP Put Method
#1
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.

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.

Best regards,

Jayme Jeffman
Sul Engenharia e Sistemas Ltda
Electrical Energy Supervision and Control
Reply


Messages In This Thread
TIdHTTP Put Method - by jjeffman - 08-27-2018, 03:39 PM
RE: TIdHTTP Put Method - by rlebeau - 08-27-2018, 07:50 PM
RE: TIdHTTP Put Method - by jjeffman - 08-28-2018, 05:46 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)