Reputation: 66935
So... I have a URL like www.example.com/stream/
I need to make any request to this url and get Http Rewspons header (like this one:
HTTP/1.0 200 OK
Content-type: video/x-flv
Cache-Control: no-cache
I do not need reponse body at all. After I get header need to emmidiatly close connection to that url (so stop to obtain data from it)
How to do such thing (I use Flash builder)
Upvotes: 2
Views: 2007
Reputation: 12333
Aparently, that's possible in AIR (I've never tried it):
The only other way I can think of is using a Socket directly. It's more involved though, and there are some security related issues that are a PITA.
Upvotes: 1