opensciencegrid / StashCache

https://opensciencegrid.org/docs/data/stashcache/overview/
Apache License 2.0
1 stars 16 forks source link

Make file size query failure not fatal #87

Closed matyasselmeci closed 5 years ago

matyasselmeci commented 5 years ago

Don't make it be an error if we fail to find the size of the file by querying the origin.

djw8605 commented 5 years ago

Could you set filesize in the payload to the size of the dowloaded file if filesize isn't in the payload object?

matyasselmeci commented 5 years ago

Sure.

djw8605 commented 5 years ago

@matyasselmeci can you merge in master, then merge this PR.