hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ortwin Gl├╝ck <ortwin.glu...@nose.ch>
Subject Re: FW: [PATCH] PreEmptive authentication setting
Date Thu, 16 Jan 2003 14:45:54 GMT
Find, I am not criticising that.

But your patch suggests:
- create preEmptiveAuthentication property in HttpConnection
- HttpClient sets this property
- HttpMethodBase uses this property

You are building a workaround for a fundamental design flaw:
- the HttpMethod does not know its HttpClient

The method should be able to get some properties out of its HttpClient.

Pill, Juergen wrote:
> 1) create a HttpClient
> 2) execute one or many methods within this HtppClient
> We could set it on the method level, but I feel there should be a more
> general way to set it (so we did it in HttpClient).

View raw message