Add fill HTTP Response info into .Data in resources.GetRemote

See #10604
This commit is contained in:
Bjørn Erik Pedersen
2023-01-16 12:44:39 +01:00
parent f13531e608
commit 6a579ebac3
5 changed files with 30 additions and 4 deletions

View File

@@ -70,6 +70,8 @@ type ResourceSourceDescriptor struct {
Fs afero.Fs
Data map[string]any
// Set when its known up front, else it's resolved from the target filename.
MediaType media.Type