Thanks for your reply. I already tried it but when I check header fields in Request Header only five header fields found and the field name "Authorization" is not in the list. If I pass any dummy field name in header it is passed exactly. I found following fields in request header:
1. Content-Type
2. Accept
3. Accept-Encoding
4. Host
5. User-Agent
But the field named "Authorization" is not there. Here is my code:
http = CreateObject("roUrlTransfer")
http.SetUrl("http://someurl.com")
ba = CreateObject("roByteArray")
ba.FromAsciiString("naeem:1234")
http.AddHeader("Content-Type", "application/x-www-form-urlencoded")
http.AddHeader("Authorization", "Basic " + ba.ToBase64String())
http.Http.EnableEncodings(true)
Why "Authorization" field is not add in request header?
Thanks
Malik