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

By-reference deposit should do initial HEAD requests #46

Open
alexdutton opened this issue Apr 2, 2020 · 1 comment
Open

By-reference deposit should do initial HEAD requests #46

alexdutton opened this issue Apr 2, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@alexdutton
Copy link
Contributor

A by-reference deposit should do an immediate HEAD request against the remote resources to ensure that a) they can be retrieved, and b) the Content-Length reported matches that provided, and is acceptable.

@alexdutton alexdutton added the enhancement New feature or request label Apr 2, 2020
@alexdutton
Copy link
Contributor Author

I think the ByReferenceFileDefinition should be split out into two classes, one for remote files, and another for segmented uploads. These should each then have a .validate() method that performs the request if appropriate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant