title: flex URLLoader get Location header
body: <p>I'm sending POST request using URLLoader and URLRequest with XML data. Then API sends response with redirect page(Location header) and i want to get this URL. How do I catch this response?</p>
  
  <p>UPD:</p>
  
  <p>Event.COMPLETE in debugger:</p>
  
  <pre><code>event = flash.events.Event (@6e1edf9) 
   bubbles = false 
   cancelable = false 
   currentTarget = flash.net.URLLoader (@418e241) 
    [inherited] =  
    bytesLoaded = 1 
    bytesTotal = 0 
    data = " " 
    dataFormat = "text" 
    stream = flash.net.URLStream (@77c5fb9) 
     [inherited] =  
     bytesAvailable = 0 
     connected = true 
     endian = "bigEndian" 
     objectEncoding = 3 
   eventPhase = 2 
   target = flash.net.URLLoader (@418e241) 
    [inherited] =  
    bytesLoaded = 1 
    bytesTotal = 0 
    data = " " 
    dataFormat = "text" 
    stream = flash.net.URLStream (@77c5fb9) 
   type = "complete"
  </code></pre>