×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Mar 2007
    Posts
    235

    Question How to set proxy in an HTTP request

    Using these parameters in Http request
    Code:
    _LIT8(KUserAgent, "PM 1.0");
    _LIT8(KAccept, "*/*");
    _LIT8(KHost, "www.xyz.com");
    SetHeaderL(hdr, HTTP::EUserAgent, KUserAgent);
    SetHeaderL(hdr, HTTP::EAccept, KAccept);
    SetHeaderL(hdr,HTTP::EHost,KHost);
    I can see from the phone side the request is being fired and it is waiting for some response ,but on the server side the response never reaches . When I apply proxyfilter the request string never gets posted in the open connection , in phone . There browsing through its IAP lists I found that my desired IAP has no-proxy setting . How can I bypass this ?
    Can I use HTTP string table setting with that ? Like can I set proxy setting with HTTP::? parameter ? and how?

  2. #2
    Super Contributor
    Join Date
    Jul 2007
    Posts
    596

    Re: How to set proxy in an HTTP request

    have you tried

    CHttpFilterProxyInterface::InstallFilterL(your httpsession);

    for 2nd edition.

    This may not work for all conditions just follow below link for more details

    http://www3.symbian.com/faq.nsf/0/C4...7?OpenDocument


    Thanks
    Last edited by kishore84; 2008-05-23 at 11:11.

Similar Threads

  1. HTTP request problem
    By Asif Nazir in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2008-04-09, 09:28
  2. Replies: 1
    Last Post: 2008-02-06, 05:39
  3. Proxy on Series 60 v2 using HTTP layer
    By botvinik in forum Symbian Networking & Messaging (Closed)
    Replies: 3
    Last Post: 2004-10-13, 08:56

Posting Permissions

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