369b44d fix checking image URL

Authored and Committed by kparal 6 years ago
    fix checking image URL
    
    Checking just for HTTP 200 doesn't work for redirects. That caused
    crashes for all new images in koji. Use smarter method for checking
    status codes.
    
        
file modified
+5 -3