I'm writing some link scraping code where I was hoping to grab only the <head>
section of a given web page. Apparently I've been confused about what a HEAD request is, as I thought it was supposed to do exactly that. Instead, it just returns HTTP headers.
Is there a way to fetch just the <head>
section of a given page, without getting the whole doc?