Albert Wiersch wrote:
>> From: twsocket-boun...@elists.org
>> [mailto:twsocket-boun...@elists.org] On Behalf Of Arno Garrels
>> 
>> If you just recognized that string property Location doesn't include
>> the port number then that might be a bug. However relocation works
>> without problem for me with the OverbyteIcsWebServ demo listening,
>> for instance, on port 81 and the OverbyteIcsHttpTst demo (your
>> sample URL did not work, please provide an URL that shows the
>> problem). 
> 
> Hi Arno,
> 
> I think the problem may be more serious.
> 
> Please try this URL:
> http://www.htmlvalidator.com/test/cookies/test-redirect.php
> 
> It should redirect to:
> http://www.htmlvalidator.com:8080/test/cookies/test-redirect-port.php

I tested with current ICSv8/v7 and it works perfectly (checked with Wireshark).
The only problem is that property Location doesn't include the non-default
port number. A workaround would be to get the Location header manually.  

> 
> But THttpCli seems to ignore the port 

No it doesn't with a recent ICS, only property Location is a bit buggy IMO.

-- 
Arno
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to