今天写小东西,需要用到HTTP Basic验证,网上找了居多资料都无法解决,群里四处询问,晚上11点20的时候一个群的管理员告诉了俺一个博客地址,打开一看,正式想要的东西,现在分享给大家,原文如下:
I am working on ActionScript3 API for Bloglines services, which requires HTTP Authentication for its two of the services. I was not able to set the header of a HTTP/GET request. Macromedia Flash Player allows you set the header only for POST requests. I discussed this issues with Ted Patrick and he told me how I can us Socket to achieve the desired and he was very kind to give a me code-snippet, which got me started. Thanks Ted.
Finally, I could implement a class(HTTPURLLoader) which allows me to:
阅读全文>>