See: http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security.html

For POST requests, the confusion probably arises because it was possible to 
send Authorization headers in the past, but it was added to the list of 
restricted headers (I don't have the exact version handy, but it might have 
been 9.0.124). Even though the crossdomain policy format was expanded to 
include an allowed header list, I believe the restricted headers are still 
always ignored. See 
http://livedocs.adobe.com/flex/3/langref/flash/net/URLRequestHeader.html for a 
list of restricted headers.

For GET requests, headers not being sent is a different issue logged against 
URLLoader - I believe this is due to a limitation of the plugin APIs exposed to 
the player. There are several duplicates logged, but one is: 
https://bugs.adobe.com/jira/browse/FP-209.

Pete


-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of stevepruitt97
Sent: Wednesday, February 11, 2009 12:31 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] HttpService headers - age old problem

This seems to be an age-old issue.  I need to set the Authorization 
header for GET requests.  I read it cannot be done and I have read 
articles that hint it is doable.  Which is it?

I have no cross-domain issues.  Everything is sent to the same server.

I found the following adobe TechNote: 
http://kb.adobe.com/selfservice/viewContent.do?
externalId=kb403184&sliceId=1
appears to state that post Flash player 9.0.115.0 the Authorization 
header can be sent with either GET or POST.  I have player 9.0.224.0.  
However, I cannot the Authorization header or a custom header to go 
across.

Has anyone successfully set the Authorization header for any customer 
header for that matter with the HttpService?

Thanks.


-S



------------------------------------

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Alternative FAQ location: 
https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
Groups Links



Reply via email to