On Sun, 2011-06-26 at 03:09 +0300, Xu, Lilu wrote: > Hi Oleg, > > I tried my best to design an elegant interface of setting HTTP parameters. > But it seems quite hard to do so. Now I have almost done this part, please > have a look at it [1] and drop me some feedback. >
The wiki seems to be off-line at the moment. I'll review the code in the coming few days and get back to you with detailed feedback by Wednesday next week the latest. > During the development of this part. There comes two questions: > > 1. How to remove all the protocol interceptors? > I tried removeRequestInterceptorByClass(HttpRequestInterceptor.class) but it > seems not work as I expected. > BasicHttpProcessor#clearInterceptors() should do the trick, should not it? > 2. Why the codes in tutorial 1.6.1 [2] output the parameters twice? The > output looks like this: > > > HTTP/1.1 > > UTF-8 > > false > > null > > HTTP/1.1 > > UTF-8 > > false > > null > I guess this is because of a redirect from www.google.com to a country specific site such as www.google.fi Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org For additional commands, e-mail: dev-h...@hc.apache.org