Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

metadata fails on HTTP.URI #402

Open
dgleich opened this issue Nov 12, 2024 · 0 comments
Open

metadata fails on HTTP.URI #402

dgleich opened this issue Nov 12, 2024 · 0 comments

Comments

@dgleich
Copy link
Member

dgleich commented Nov 12, 2024

The following code succeeds:

using FileIO, HTTP
img = load(HTTP.URI("https://github.com/JuliaLang/julia-logo-graphics/raw/master/images/julia-logo-color.png"))
mdata = metadata(download("https://github.com/JuliaLang/julia-logo-graphics/raw/master/images/julia-logo-color.png"))

but these codes fail:

mdata = metadata(HTTP.URI("https://github.com/JuliaLang/julia-logo-graphics/raw/master/images/julia-logo-color.png"))

The solution is to add a metadata function to the HTTP override.

@dgleich dgleich changed the title metadata files on HTTP.URI metadata fails on HTTP.URI Nov 12, 2024
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

No branches or pull requests

1 participant