0

"Host" header in request

Hi,

I couldn't get to work an altered "host" header in get (and post) requests.

Test page (to see headers in request) :
http://78.129.179.50/headertest.php

Table XML :
http://78.129.179.50/test.xml

Test query :
use "http://78.129.179.50/test.xml" as testtable; select * from testtable where url='http://78.129.179.50/headertest.php'

Is it an intended behavior or an issue?

regards,
Bulent

by
1 Reply
  • Did you ever figure this out? I am trying to do the same thing as well with no luck. I have a domain on multiple servers and I want to be able to rotate through each server consecutively which requires me to set the host field if I call via IP address directly.<br><br><br><br><div class="quote"><div class="quotetop">QUOTE<cite>(Bulent Vural @ 7 May 2011 1:32 AM)</cite></div><blockquote class="quotemain">Hi,<br><br>I couldn&#39;t get to work an altered &quot;host&quot; header in get (and post) requests.<br><br>Test page (to see headers in request) :<br><a href="http://78.129.179.50/headertest.php" rel="nofollow" target="ext">http://78.129.179.50/headertest.php</a><br><br>Table XML : <br><a href="http://78.129.179.50/test.xml" rel="nofollow" target="ext">http://78.129.179.50/test.xml</a><br><br>Test query : <br>use &quot;http://78.129.179.50/test.xml&quot; as testtable; select * from testtable where url=&#39;http://78.129.179.50/headertest.php&#39;<br><br>Is it an intended behavior or an issue?<br><br>regards,<br>Bulent</blockquote></div>
    0

Recent Posts

in YQL