How to get content type of a web address?

前端 未结 5 396
故里飘歌
故里飘歌 2020-12-03 22:21

I want to get type of a web address. For example this is a Html page and its page type is text/html but the type of this is text/xml. this page\'s

5条回答
  •  广开言路
    2020-12-03 22:40

    HTTP Response header: content-type

    For a more detailed response, please provide a more detailed question.

提交回复
热议问题