Why from an http request in Nativescript, can't I get headers location such as a web request?
For instance, in my web browser, this URL https://source.unsplash.com/featured/?test headers response gives me :
Cache-Control no-cache
Connection keep-alive
Content-Type text/html; charset=utf-8
Date Sun, 03 Jan 2021 16:23:46 GMT
Location https://images.unsplash.com/ph…8fA&ixlib=rb-1.2.1&q=80&w=1080
Referrer-Policy strict-origin-when-cross-origin
Server Cowboy
Strict-Transport-Security max-age=31536000; includeSubDomains
Transfer-Encoding chunked
Vary Origin
Via 1.1 vegur
X-Content-Type-Options nosniff
X-Download-Options noopen
X-Frame-Options SAMEORIGIN
X-Permitted-Cross-Domain-Policies none
X-Request-Id b8ccff62-5f64-47cb-bed3-976070bfb2ed
X-Runtime 0.104012
X-Xss-Protection 1; mode=block
But in Nativescript I can't see half of those headers response, I would be interested by the Location actually. Any idea?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…