Skip to content

Gallery additions - #681

Merged
grantmcdermott merged 3 commits into
mainfrom
gallery-additions
Aug 16, 2026
Merged

Gallery additions#681
grantmcdermott merged 3 commits into
mainfrom
gallery-additions

Conversation

@grantmcdermott

Copy link
Copy Markdown
Owner

No description provided.

FRED's edge now rejects R's default HTTP user-agent, resetting the
HTTP/2 stream with INTERNAL_ERROR. libcurl surfaces this as an opaque
"Stream error in the HTTP/2 framing layer" warning, so read.csv() on
the fredgraph.csv URL fails while the same URL loads in a browser.

Not an R or libcurl issue: R and the curl CLI share the same
libcurl (8.21.0) and nghttp2 (1.69.0), and the CLI reproduces the
failure when given R's user-agent. Other HTTP/2 hosts (CRAN, GitHub)
are unaffected.

Pass headers= to url() so the override is scoped to this one call and
does not touch the session's HTTPUserAgent option, which some repos
(e.g. P3M) rely on to serve the correct precompiled binaries.
@grantmcdermott
grantmcdermott merged commit 3c7aa20 into main Aug 16, 2026
3 checks passed
@grantmcdermott
grantmcdermott deleted the gallery-additions branch August 16, 2026 22:49
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