Reputation: 411
I recently see lot of request to my server from browsers with gzip(gfe)
in user agent. Which browser uses them in user agent. What it actually do. Some examples below:
Upvotes: 1
Views: 5660
Reputation: 157
Weird stuff. It's also on youtube. Request:
https://www.youtube.com/embed/XXX
where "XXX" is the video ID. Look at the source code:
"INNERTUBE_CONTEXT":
{
"client":
{
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.1851.0 Safari/537.36 Edg/115.0.1851.0,gzip(gfe)",
}
}
A POST request goes off to:
https://www.youtube.com/youtubei/v1/player?key=XXX&prettyPrint=false
where "XXX" is some fancy identifier. The POST data replicates the code above.
"gzip" probably means browser supports gzip compression. What's "gfe"?
Upvotes: 0
Reputation: 32063
https://developers.whatismybrowser.com/useragents/parse/#parse-useragent decodes it as "via Google Frontend". An answer to a similar question here on SO says
You will see this token, if a user translate[s] your website in another language with the Google Translator.
...that is when Google makes a request to your site on behalf of the user when the user uses Google Translate to translate your web page. I just tried it and can confirm I see the request with ,gzip(gfe)
in the user agent. The referrer looks like: https://translate.google.com/translate?sl=auto&tl=es&u=<ORIGINAL URL>
Upvotes: 4