×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jan 2005
    Location
    Italy
    Posts
    639

    How to retrieve entire HTTP response into a buffer?

    Hello,
    this time i'm struggling with HTTP client API.
    I looked into the SDK example httpexampleclient, into webclient example, into nokia end-to-end http example httptaskmanager and into symbian docs,wiki,forums, but i can't find a solution.
    I understand that i can create a HTTP POST request and obtaining the response headers and body when they are declared ready into MHFRunL(), but from there i can only retrieve header fields and values, and the body... how can i retrieve the entire response and put it in a buffer that will be processed after? Any suggestion? Any starting point?
    I know it seems a useless request, but i need this for a project in which it's planned to reuse a whole amount of already existing code made for another platform.

    Thank you in advance
    pg

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,692

    Re: How to retrieve entire HTTP response into a buffer?

    If you want everything in one big buffer, why do not you use a simple RSocket?

  3. #3
    Registered User
    Join Date
    Jan 2005
    Location
    Italy
    Posts
    639

    Re: How to retrieve entire HTTP response into a buffer?

    Hi,
    thank you for your reply.
    Basically because i didn't want to do everything from scratch, but maybe i'm wrong/confused... using RSocket would mean re-implement a sort of http protocol ? It would be really too much effort for me....

    thnx

  4. #4
    Registered User
    Join Date
    Jan 2005
    Location
    Italy
    Posts
    639

    Re: How to retrieve entire HTTP response into a buffer?

    I see now that the RHttpSession has a StringPool method... maybe...

Similar Threads

  1. waiting for HTTP POST response
    By gemilib in forum Symbian
    Replies: 3
    Last Post: 2007-11-19, 17:00
  2. Problem retreiving custom HTTP response header
    By hmeet2 in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2007-01-03, 09:35
  3. Dialog's clipping area (again). Nokia experts, please help
    By synov in forum Symbian User Interface
    Replies: 0
    Last Post: 2004-06-26, 14:35
  4. Receive uncomplete HTTP response
    By apitoman in forum Symbian Networking & Messaging (Closed)
    Replies: 6
    Last Post: 2004-03-24, 16:15
  5. nokia 7210 modem via IR doesn't work !
    By oussamaaiadi in forum PC Suite API and PC Connectivity SDK
    Replies: 1
    Last Post: 2003-03-06, 10:46

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×