Completely agree. A few months ago we have been discussing possibility
of splitting HttpMethod into HttpRequest/HttpResponse pair once we get
2.0 is released. I would wait with more radical changes till then

Cheers

Oleg  

On Tue, 2003-02-25 at 21:38, Sam Maloney wrote:
> Makes sense to me,
> I would definatly agree on your point that 'Client' logic should be in 
> HttpClient and not in HttpMethodBase. (I would say redirect, auth and even 
> auto-retry would count as 'Client' logic).
> 
> Sam
> 
> On Tuesday 25 February 2003 15:27, Oleg Kalnichevski wrote:
> > Folks
> > I am currently working on a patch enabling HttpClient to handle
> > cross-site redirects.
> >
> > http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16729
> >
> > In order to lay foundation for this capability I needed to make quite a
> > few changes to HttpClient & HttpMethodBase. I have opted for a more
> > substantial overhaul of these classes, than was strictly necessary. I
> > realize not all of you may agree with my decision. So, I decided to seek
> > an early feedback from you to make sure I do not go completely astray.
> >
> > This is what I have done:
> >
> > I moved complete redirect & authenticate logic from HttpMethodBase to
> > HttpClient. HttpMethodBase
> >
> > Impact:
> >
> > - Even though binary interface is unchanged, HttpClient's modus operandi
> > with regard to redirect & authentication changed substantially. People
> > like Laura Werner,who do not use standard HttpClient and have developed
> > their own logic around lower level classes will be affected most.
> >
> > - Cleaner design. Redirect & authentication in my opinion logically do
> > not belong to domain of the HTTP method, rather, they belong to that of
> > the HTTP agent.
> >
> > - Over-convoluted HttpMethodBase class got simpler. Under-used
> > HttpClient class is leveraged more. This is an important architectural
> > improvement in my humble opinion. If you disagree, please let me know
> >
> > - I am seriously concerned that this redesign may have adversely
> > affected connection pooling stuff. Mike, Eric, you are the connection
> > pooling experts, could you please give me your opinion on that?
> >
> > - About a dozen of test cases have become obsolete. They will need to be
> > redesigned. They are all commented out for the time being
> >
> > As always, any feedback, including that in a form of bad tomatoes thrown
> > at me will be appreciated
> >
> > Please note, that cross-site redirect has not been implemented yet.
> >
> > Cheers
> >
> > Oleg
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to