Re: partial response from non-browser clients

2012-03-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Serdyn, On 3/23/12 11:26 AM, Serdyn du Toit wrote: The client code was first in Jersey (jersey.java.net), then written in plain Java, and then using Apache HttpComponents (hc.apache.org). All versions of client code hanged. Could you try using

Re: partial response from non-browser clients

2012-03-26 Thread Rob Koberg
Hi, I bet this issue has to do with the client not sending the proper Accepts header info and the rest resource does not see it as appropriate. Apparently jQuery is not doing the 'right thing'. I recently had this issue. My working example of a jQuery function for a conditional get looks like:

Re: partial response from non-browser clients

2012-03-25 Thread Pid *
On 23 Mar 2012, at 15:26, Serdyn du Toit dutoi...@gmail.com wrote: Hi, Using Tomcat 6.0.35 I got the server up and running and could retrieve webpages from my application perfectly - using the browser. Now I've written some client code of my own in Java and for one or other reason it

partial response from non-browser clients

2012-03-23 Thread Serdyn du Toit
Hi, Using Tomcat 6.0.35 I got the server up and running and could retrieve webpages from my application perfectly - using the browser. Now I've written some client code of my own in Java and for one or other reason it doesn't want to retrieve everything - it only returns a partial response and

Re: partial response from non-browser clients

2012-03-23 Thread Konstantin Kolinko
2012/3/23 Serdyn du Toit dutoi...@gmail.com: Hi, Using Tomcat 6.0.35 I got the server up and running and could retrieve webpages from my application perfectly - using the browser.  Now I've written some client code of my own in Java and for one or other reason it doesn't want to retrieve

Re: partial response from non-browser clients

2012-03-23 Thread André Warnier
Serdyn du Toit wrote: Hi, Using Tomcat 6.0.35 I got the server up and running and could retrieve webpages from my application perfectly - using the browser. Now I've written some client code of my own in Java and for one or other reason it doesn't want to retrieve everything - it only returns