How come some site urls do not include a file extension?

后端 未结 13 1781
终归单人心
终归单人心 2020-11-28 09:38

I was browsing the internet and noticed, YouTube, for example, contains a URL like this to denote a video page: http://www.youtube.com/watch?v=gwS1tGLB0vc.

13条回答
  •  悲哀的现实
    2020-11-28 10:33

    Having or not having the extension is irrelevant. The browser acts on the MIME type returned by the server, not any extension used in the URL.

提交回复
热议问题