Send HEAD request to given url.
Parameters: | url (str) – URL of the internet resource. |
---|---|
Returns: | Dictionary with headers. Important headers: content-length and content-type. |
Return type: | dict |
Download resource at url.
Parameters: | url (str) – URL of the internet resource. |
---|---|
Returns: | Content of the downloaded resource. |
Return type: | str |