This function performs a HEAD request to fetch the content-type and content-length of the given url.
Optional
This function performs a HEAD request to fetch the content-type and content-length of the given url.