Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Aug 2008

    E71 Set header request

    I'm trying to set the header request using jquery like
    xhr.setRequestHeader("Authorization", "Basic " + Base64.encode(user + ":" + pass));

    but apparently the setRequestHeader is not functional in s60 3rd edition, either on s60 5th edition, so i tried to set it as bellow in s60 5th edition:
    username: user,
    password: pass,
    dataType: "json",

    and it works though the request has the HTTP_AUTHORIZATION parameter set, but not on E71 the HTTP_AUTHORIZATION param is not there so i wonder if there is a way to pass the HTTP_AUTHORIZATION with header request in E71

  2. #2
    Registered User
    Join Date
    Feb 2009

    Re: E71 Set header request

    The 'Authorization' header is not supported in WRT. So no matter how you set it, it won't get transmitted. See also this thread.

Similar Threads

  1. How to set URL in the request
    By liuxingyu_best in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2008-09-19, 12:21
  2. SIP Header Problem
    By bifihi in forum VoIP
    Replies: 8
    Last Post: 2008-07-18, 10:31
  3. JSR180, how to set Authorization Header in Unauthorized state?
    By SYTDeath in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2007-07-05, 14:55
  4. How do I set Content Type for the header?
    By gnewsom in forum Mobile Java General
    Replies: 0
    Last Post: 2005-05-31, 21:15
  5. how to set the header?
    By aliakkaya in forum PC Suite API and PC Connectivity SDK
    Replies: 0
    Last Post: 2002-06-19, 05: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