Add safer HTTP handling for external API and image requests.
- Use timeout-backed HTTP clients instead of direct
http.Get
- Check non-200 responses before reading/decoding bodies
- Cap response body sizes for API JSON and image downloads
- Prevent latest-release output from rendering an empty tag on GitHub API errors
- Add focused tests for latest-release and oversized API responses
Add safer HTTP handling for external API and image requests.
http.Get