开发者

how do shortlinks work? (inside google)

开发者 https://www.devze.com 2023-04-12 17:45 出处:网络
I found out that inside google , shortlinks are used to navigate around to different Google services. For example:

I found out that inside google , shortlinks are used to navigate around to different Google services. For example:

go/mail would take you to gmail

go/docs would take you to docs

And that is entered in the 开发者_如何转开发address bar of the browser .

I'm just wondering if anyone knows how it works ? is it internal DNS mapping ?


I don't know how it does work, but I know how it could work.

Create a computer called "go". Set up DNS mapping so "ping go" does something useful.

On that computer run a web server which, when "http://go/mail" is fetched, responds with HTTP status code 302 (redirect).

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号