(请在下面的文本框中编辑您的代码,然后单击此按钮测试结果。)
With a HEAD request, a server will return the headers of a resource (not the resource itself). This means you can find out the Content-Type or Last-Modified of a document, without downloading it itself.