js获取responseHeader 的location地址

以下这一段是一个页面的responseHeader信息
而我想要其中的Location,转发地址,,该怎么获取?
Cache-Control:no-cache
Connection:keep-alive
Content-Type:text/html
Date:Thu, 17 Dec 2015 11:41:06 GMT
Location:http://pan.baidu.com/share/init?shareid=2290522744&uk=525635140
Pragma:no-cache
Server:nginx
Transfer-Encoding:chunked
X-Powered-By:PHP/5.4.24
yld:66060825260523197

使用XMLHttpRequest对象的getResponseHeader('xxx')方法

这都是key value 直接根据key来获取