We proceed as follows:
- Execute the script for the recipe. It contains the following code:
util = URLUtility(const.ApodEclipseImage())print("The content type is: " + util.contenttype)
- With the following result:
Reading URL: https://apod.nasa.gov/apod/image/1709/BT5643s.jpgRead 171014 bytesThe content type is: image/jpeg