Firefox 的 geo.wifi.url 的 https://www.google.com/loc/json 没有使用?

2022-01-14 00:00:00 firefox packet-sniffers geolocation html

我使用了网络嗅探器并检查了访问 http://html5demos.com/geo 时从 Firefox 发出的所有请求.根据我的 Firefox,根据 geo.wifi.uri 条目的地理定位服务是 https://www.google.com/loc/json.但是我在任何请求中都没有看到这个 url.

I used a network sniffer and examined all the requests going out from Firefox when going to http://html5demos.com/geo. According to my Firefox, the geolocation service according to geo.wifi.uri entry is https://www.google.com/loc/json. However I don't see this url in any of the requests.

我错过了什么?

推荐答案

我在 LiveHTTPHeaders:

https://www.google.com/loc/json

POST /loc/json HTTP/1.1
Host: www.google.com
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:2.0b12pre) Gecko/20110220 Firefox/4.0b12pre
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip, deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Content-Length: 42
Content-Type: text/plain; charset=UTF-8
Pragma: no-cache
Cache-Control: no-cache
    {"version":"1.1.0","request_address":true}

HTTP/1.1 200 OK
Content-Type: application/json; charset=UTF-8
Content-Encoding: gzip
Date: Mon, 21 Feb 2011 13:34:05 GMT
Expires: Mon, 21 Feb 2011 13:34:05 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Content-Length: 238
Server: GSE

相关文章