-2

I need to check if the url is valid, I don't need its contents. When I use urllib.request.urlopen(), it takes unnecessary time to get even the contents of the url.

Is there a method in urllib.request to do this?

ASWIN VENU
  • 111
  • 7

0 Answers0