- Python Web Scraping Cookbook
- Michael Heydt
- 66字
- 2021-06-30 18:44:13
Determining the type of content for a URL
When performing a GET requests for content from a web server, the web server will return a number of headers, one of which identities the type of the content from the perspective of the web server. In this recipe we learn to use that to determine what the web server considers the type of the content.