There are restrictions on what headers can be set.  Check the docs here
to make sure you're OK:
http://livedocs.adobe.com/flex/201/langref/flash/net/URLRequestHeader.ht
ml

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Paul DeCoursey
Sent: Monday, March 26, 2007 10:12 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] URLRequest.requestHeaders



Has anyone used this? I am having a lot of trouble getting requests
to actually send those headers to the server. I'm curious if anyone
else has had experience with them. My problem is I cannot
authenticate to our remote servers. Some of the servers use Basic
Authentication and some use SOAP headers. I have been able to get it
to work by getting the session id from SOAP and passing that as to the
services that used basic. I had to turn off basic auth and just fail
the request if there is not a valid session. Problem now is I have no
session on this other server and need to get one created, but I cannot
authenticate because there are no soap handlers and Flash cannot be
basic without prompting the user. So I was looking at sending some
authentication tokens as headers with the requests, but they are not
arriving at the server.

Paul



 

Reply via email to