Z
ZekyTrash
Hi.
I Need to make a connection to a host "A" and execute a GET with a
header "Host" pointing to host "B"
To be more clear, i'm trying to do something that could be replicated
as:
===========
telnet hostB 80
GET /test.html HTTP/1.1
Host: hostA
===========
I tried with ServerXMLHttp setting the open to "http://hostB/test.html"
and "hostA" as Host in headers... but didn't work.
The reason i need this is that hostB is an IP from a device that does
some processing on "http://hostA/test.html"
i can make a COM that establish the telnet connection to port 80 and do
the GET...but I'm trying to keep it simple... if there's an easier
way....
Any help is more than welcome
I Need to make a connection to a host "A" and execute a GET with a
header "Host" pointing to host "B"
To be more clear, i'm trying to do something that could be replicated
as:
===========
telnet hostB 80
GET /test.html HTTP/1.1
Host: hostA
===========
I tried with ServerXMLHttp setting the open to "http://hostB/test.html"
and "hostA" as Host in headers... but didn't work.
The reason i need this is that hostB is an IP from a device that does
some processing on "http://hostA/test.html"
i can make a COM that establish the telnet connection to port 80 and do
the GET...but I'm trying to keep it simple... if there's an easier
way....
Any help is more than welcome