Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
用户将网址(书签)注册到我的网站。我想根据文件类型对 url 进行分类,无论它们是 HTML、图像等。如果可以使用 HEAD 请求,我如何检测文件类型?或者任何其他解决方案?