Hello Everyone!

The new version of the Flash player (r115) will not allow you to
manipulate Authorization HTTP headers, despite documentation to the
contrary. 
I have searched the Adobe site to find an announcement about changes
to the player, but nothing comes up beyond the documented disallowed
headers. Authorization is not on this list.

In the previous version of flash Player 9, my application works fine.
 It bombs in r115.

Example:
var request : URLRequest = new URLRequest(serviceURL + "loginService");
request.method = URLRequestMethod.POST;
urlvars.signature= "123456789";
request.data = urlvars;
var header : URLRequestHeader = new URLRequestHeader();
header.name = "Authorization";
header.value = "foo=bar";
request.requestHeaders = new Array(header);
loader.load(request);

Player 115 throws this error:
Error #2096: The HTTP request header Authorization cannot be set via
ActionScript.

Players 28 & 47 work. 

Anyone have this issue?

Thanks,
Tim


Reply via email to