Hello John,

I forgot one thing. Do you mind completing the necessary paperwork for
the patches (JCA)?
http://www.restlet.org/community/contribute

best regards,
Thierry Boileau

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
>
>

Reply via email to