×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Sep 2005
    Posts
    43

    How to add Custom(my own Name=Value Pair) HTTP headers to HTTP requests?

    Hi,

    How to add custom HTTP headers? i.e. need to add my own Name=Value pairs to the HTTP header. Digged into the forum's previous posts but... it is not clear.

    Any help on this... code snippet will be greatly appreciated.

    Thanks,
    symbian_ravi

  2. #2
    Registered User
    Join Date
    May 2006
    Posts
    24

    Re: How to add Custom(my own Name=Value Pair) HTTP headers to HTTP requests?

    Hi
    Did you get an answer to your question? I'm also looking for the same...
    Thanks,
    -Sri

  3. #3
    Registered User
    Join Date
    Jul 2004
    Posts
    166

    Re: How to add Custom(my own Name=Value Pair) HTTP headers to HTTP requests?

    you can use QNetworkRequest's setRawHeader to set custom header
    http://kunalmaemo.blogspot.com/

  4. #4
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,684

    Re: How to add Custom(my own Name=Value Pair) HTTP headers to HTTP requests?

    Porting Qt to S60 has started approximately 2.5 years later (April, 2008 according to http://labs.qt.nokia.com/2008/10/20/...ing-qt-to-s60/) than the question was posted (November, 2005). Guess if suggesting Qt 6 years and 2 months later really helps or not.
    Otherwise RHTTPHeaders::SetFieldL is expected to allow adding custom headers, no transition to Qt is needed for this sole purpose.

Similar Threads

  1. Replies: 6
    Last Post: 2008-05-15, 07:55
  2. How to send customized(none-standard) HTTP request headers?
    By trendin in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2007-06-02, 06:02
  3. HTTP massive headers received
    By pkien168 in forum Mobile Java Networking & Messaging & Security
    Replies: 10
    Last Post: 2006-03-03, 05:53
  4. Replies: 0
    Last Post: 2002-05-09, 12:07

Posting Permissions

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