cross domain policy

9 views
Skip to first unread message

Bart

unread,
Jan 14, 2009, 4:53:35 AM1/14/09
to AS3 HttpClient
GREATE source codes and examples!!


But there are some questions...

I'm using the blazeds proxy server to avoid the cross domain policy
(crossdomain.xml)

http://opensource.adobe.com/wiki/display/blazeds/BlazeDS/
<mx:HTTPService id="httpService" useProxy="true" result="resultHandler
(event)"/>

Also, I need customer http headers like "Authorization" & "x-ms-date"
with org.httpclient.HttpHeader.add() function.

But I have no idea about how to add customer http header with proxy
server...

Is there any idea?

gabe

unread,
Jan 14, 2009, 1:59:42 PM1/14/09
to AS3 HttpClient
I'm guessing here, but proxy servers should forward the request with
the same headers (except a few, maybe the ones set for the proxy like
Location).

I am also guessing BlazeDS is not a real proxy and you would have to
patch or configure BlazeDS to call a 3rd party service using the right
headers. I would try to ask on the BlazeDS newsgroup?

Bart

unread,
Jan 15, 2009, 10:39:53 PM1/15/09
to AS3 HttpClient
Yes, maybe I need to write a web service (java or .net) to pass the
header and content.

Thanks for your advise, that's really helpful. :)
Reply all
Reply to author
Forward
0 new messages