forgot to add this comment

This commit is contained in:
Joey Hess 2015-03-31 15:47:59 -04:00
parent 9e8b53644b
commit a73b8907a4

View file

@ -0,0 +1,18 @@
[[!comment format=mdwn
username="joey"
subject="""comment 1"""
date="2015-03-31T18:48:12Z"
content="""
I think I didn't fully consider the `addurl --file` behavior when adding this
feature.
It seems to make sense for CLAIMURL to be used, since a special remote may
claim the url. It seems to make sense for CHECKURL to then be called (if
not --relaxed) to check that the url's content is present before adding it.
If CHECKURL-CONTENTS returns a file, it makes sense to check the file
size, but not use the suggested filename.
If CHECKURL-MULTI returns multiple files, I think it makes sense to give up
with an error.
"""]]