Hi Thierry, On Dec 6, 2007 1:46 AM, Thierry Boileau <[EMAIL PROTECTED]> wrote:
> I forgot one thing. Do you mind completing the necessary paperwork for > the patches (JCA)? > http://www.restlet.org/community/contribute No problem. The fax is on its way. Please let me know if you do not receive it today. Kind Regards, John Fallows. <http://www.restlet.org/community/contribute>On Dec 6, 2007 7:50 AM, John R. > Fallows <[EMAIL PROTECTED]> wrote: > > Folks, > > > > In the HttpClient extension on trunk, HttpMethodCall.getResponseStream() > > should return null when the underlying response body stream is null. > > However, as currently written, this method will return a non-null > > FilterInputStream wrapper, even when the underlying response body stream > is > > null. > > > > Having a non-null input stream in this case leads to incorrect > calculation > > of Representation.isAvailable() which causes further cascading problems > such > > as NullPointerException when the any attempt is made to read from the > > stream. > > > > AFAICT, this looks like a bug, so I created a patch to resolve the > issue. > > Let me know if I should file a new issue in the tracker and attach the > > patch. > > > > Kind Regards, > > John Fallows > > > > > -- CTO, Kaazing Corporation www.kaazing.com

