Handling chunked data with HttpURLConnection

Discussion in 'Java' started by Giuseppe Bonaccorso, Oct 21, 2006.

  1. I've tried to use HttpURLConnection in order to retrieve web
    pages (using InputStream) but when the content is chunked the
    result is always truncated... Is it possible to solve this
    problem or I've necessarily to use Socket class ?
    Thanks

    --
    Giuseppe Bonaccorso

    WWW: http://www.giuseppebonaccorso.it
    NewsID:
    Giuseppe Bonaccorso, Oct 21, 2006
    #1
    1. Advertising

  2. On Oct 21, 8:05 pm, "Giuseppe Bonaccorso"
    <> wrote:
    > I've tried to use HttpURLConnection in order to retrieve web
    > pages (using InputStream) but when the content is chunked the
    > result is always truncated... Is it possible to solve this
    > problem or I've necessarily to use Socket class ?


    I'd be surprised if you tell me that Jakarta Commons HttpClient does
    not handle chuncked-encoded properly.

    --
    RĂ©gis
    =?iso-8859-1?B?UulnaXMgROljYW1wcw==?=, Oct 22, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. CW

    transfer encoding: chunked

    CW, Feb 15, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    534
  2. Replies:
    0
    Views:
    1,009
  3. Replies:
    10
    Views:
    7,691
  4. Replies:
    6
    Views:
    1,905
    Andrea Desole
    Sep 4, 2006
  5. Tristan
    Replies:
    0
    Views:
    583
    Tristan
    May 29, 2009
Loading...

Share This Page