Retrieve image from URL

Hi
I am trying to get an image from a url… but it seems that I only get the first chunk from it (2700 bytes).
Do I have to set PARAM_MD_HTTPCONNECTION_DOWNLOAD_IN_CHUNKS to true? Any other param I need to set to get the whole image (about 40k big)?
Maybe not relevant, but in the tcp monitor I see a difference in the response: when done with Firefox, I see

Transfer-Encoding: chunked
Date: Wed, 01 Feb 2012 08:50:31 GMT

2000
‰PNG

And when done with the HttpConnectionHandler I always see

Transfer-Encoding: chunked
Date: Wed, 01 Feb 2012 08:24:37 GMT

95e
‰PNG

Many thanks
Javier

Hi
Sorry, my problem… the problem was in the url and some “funny” characters
Best regards
Javier