質問

Say I go to google.com and search for "Klaus Harmony". The first result is a Wikipedia page. If I open the network tab and click "preserve log", so that the requests won't be cleared upon navigation, I see 2 things:

network tab 1

A POST request, with the status (ping)

network tab 2

A GET request which carries the HTTP Referrer of "http://google.com"

network tab 3

My questions are:

  1. What are they trying to accomplish here, especially with that strange first request?
  2. How are they changing the HTTP Referrer?
役に立ちましたか?

解決

  1. I'd say its to check if the site still works or should you see see the last crawled version of the page if the ping fails, another thing might be for google analytics purposes

  2. if you search at google.com, google.com is your referrer, there is no need to change anything. You can modify it to omit the ?Q=== part by proper meta, you can read here: http://wiki.whatwg.org/wiki/Meta_referrer

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top