Skip to content

Use http-easy directly for catalog downloads - #107

Draft
samth wants to merge 5 commits into
racket:masterfrom
samth:use-http-easy
Draft

samth wants to merge 5 commits into
racket:masterfrom
samth:use-http-easy

Conversation

@samth

@samth samth commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

Use http-easy directly for README discovery, remote package index and build-summary downloads, and SPDX downloads. Remove http-utils.rkt and its request and response wrappers. Keep the existing status handling and the build updater's HEAD/ETag check. Read file-backed package indexes directly.

README discovery keeps the package network timeout and uses a session scoped to each sandboxed probe. It relies on the library's built-in redirects. Path-relative Location support is tracked in Bogdanp/racket-http-easy#36. Checksum updates are already protected from README failures by #106.

Verified that the site and download modules compile, the focused tests pass, and both local and HTTP gzip indexes load. The original Bitbucket redirect works. Against the live build server, the cached summary is left untouched when the HEAD response's ETag matches.
A loopback test verified that a slow HEAD times out, the GET fallback still succeeds, and subsequent requests can use the shared session.

@samth samth changed the title Use http-easy for package catalog HTTP requests Use http-easy directly for catalog downloads Nov 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant