On Wed, 2014-10-29 at 12:02 +0530, srihari na wrote:
> Yes I accept unless one shows in code bug need not be raised. However I
> have clear prima facie evidence with sample program using Apache HTTP
> client and standalone java program where the destination server works fine
> with java code but not using HTTP client library. Also it has been verified
> to work with various HTTP and ReST clients. Atleast can anyone help me if
> there is any problem with the code I have or I would like to go for bug and
> at the same time dig in the code to find the issue.
> 

You are not expected to dig in the code and point at the exact line
which you suspect to be wrong, but you are clearly expected to provide
clear evidence of HttpClient being non-compliant with the HTTP
specification. Vague statements about some other clients being 'right'
and HttpClient being 'wrong' are meaningless as far as I am concerned.

Oleg


> On Tue, Oct 28, 2014 at 6:28 PM, Todd W Lainhart <[email protected]>
> wrote:
> 
> > > Is it better i go ahead and raise a jira for this one.
> >
> > I wouldn't open a bug unless you can point to the code at fault.
> >
> >
> >
> > Todd Lainhart
> > Senior Software Engineer - ExperienceOne, Digital Analytics
> >
> > Phone: 1-978-899-4705 | Mobile: 1-508-331-1110
> > E-mail: [email protected]
> > 550 King St
> > Littleton, MA 01460-1250
> > United States
> >
> >
> >
> >
> > From:   srihari na <[email protected]>
> > To:     HttpClient User Discussion <[email protected]>
> > Date:   10/28/2014 05:47 AM
> > Subject:        Re: HttpClient with CircularRedirectException
> >
> >
> >
> > I am still not convinced that it is a server side problem because other
> > clients are able to handle the redirects to some sort of solution. I
> > believe there might be some issue in the redirect strategy of the HTTP
> > client. Is it better i go ahead and raise a jira for this one.
> >
> > On Wed, Oct 15, 2014 at 6:58 PM, Todd W Lainhart <[email protected]>
> > wrote:
> >
> > > srihari na <[email protected]> wrote on 10/15/2014 04:38:23 AM:
> > >
> > > > My concern is why the Http Client library is hitting Circular redirect
> > > or
> > > > maximum redirect issue where as normal rest client or simple java
> > > program
> > > > does not have any issue while invoking the URL.
> > > >
> > >
> > > An obvious guess is that the other clients are following the redirects
> > to
> > > some sort of resolution.  Take a look at network traffic between the
> > > client and the server to confirm this.  An excessive number of redirects
> > > (circular or otherwise) might be an indication of some sort of problem
> > on
> > > the server, which the circularRedirects property can alert you to.  From
> > > RequestConfig:
> > >
> > >     /**
> > >      * Determines whether circular redirects (redirects to the same
> > > location) should
> > >      * be allowed. The HTTP spec is not sufficiently clear whether
> > > circular redirects
> > >      * are permitted, therefore optionally they can be enabled
> > >      * <p/>
> > >      * Default: <code>false</code>
> > >      */
> >
> >
> >
> >
> > --
> > Regards,
> > Srihari NA
> >
> >
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to