开发者

What headers does a SWF file send when requesting data from a URL

开发者 https://www.devze.com 2022-12-13 13:16 出处:网络
When requesting data with: <param value=\"data-file=http://url-to-my/json.开发者_如何学运维script\" name=\"flashvars\">

When requesting data with:

<param value="data-file=http://url-to-my/json.开发者_如何学运维script" name="flashvars"> 

via an SWF file, what request type would "http://url-to-my/json.script" receive. It doesn't seem to be a "xmlhttprequest". Is it the same as a request from a browser?


XmlHTTPRequest uses the same Request-Architecture as the Browser, so there would be no difference. The only thing that might differ when using a Flash-Application is the User-Agent submitted in the header of the HTTP-Request. In the above scenario I assume that a simple GET-Request is made.

Best wishes, Fabian


It should be a HTTP GET request.

0

精彩评论

暂无评论...
验证码 换一张
取 消