Skip to content

Commit 53b6096

Browse files
ViralBShahclaude
andcommitted
Add metadata support for HTTP.URI
Fixes #402: `metadata(HTTP.URI(...))` now works the same way `load(HTTP.URI(...))` already did. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 4e544bd commit 53b6096

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

ext/HTTPExt.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,6 @@ else
99
end
1010

1111
FileIO.load(uri::HTTP.URI) = load(IOBuffer(HTTP.get(uri).body))
12+
FileIO.metadata(uri::HTTP.URI) = metadata(IOBuffer(HTTP.get(uri).body))
1213

1314
end # module

0 commit comments

Comments
 (0)