hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: Virtual Host problems
Date Tue, 17 Jan 2006 13:26:24 GMT
DEEPAK SHETTY wrote:
> Hi
> 
>>>Browser accesses abc.com/somedata what should the Host header value
> 
> if
> 
>>>some page on the internal app server does a request.getHeader("Host")
>>>
>>
>>Clearly 'someip:7001' imho.
> 
> Aha, but Httpclient lets you override someip with abc.com (using
> virtualhost which is probably an abuse of virtualhost) but doesn't let
> you override 7001 without the hack you described. Which is inconsistent
> imho.
> 

So what? Overriding ports is senseless and is likely to be a byproduct 
of a bad design (again, imho).

Oleg

> 
> Regards
> deepak
> 
> *********************************************************
> Disclaimer:   
> 
> The contents of this E-mail (including the contents of the enclosure(s) or attachment(s)
if any) are privileged and confidential material of MBT and should not be disclosed to, used
by or copied in any manner by anyone other than the intended addressee(s).   In case you are
not the desired addressee, you should delete this message and/or re-direct it to the sender.
 The views expressed in this E-mail message (including the enclosure(s) or attachment(s) if
any) are those of the individual sender, except where the sender expressly, and with authority,
states them to be the views of MBT.
> 
> This e-mail message including attachment/(s), if any, is believed to be free of any virus.
 However, it is the responsibility of the recipient to ensure that it is virus free and MBT
is not responsible for any loss or damage arising in any way from its use
>      
> 
> ********************************************************
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: httpclient-user-help@jakarta.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org


Mime
View raw message