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

[Design] Pre-process Input Stream #94

Closed
gregdhill opened this issue Feb 17, 2020 · 0 comments
Closed

[Design] Pre-process Input Stream #94

gregdhill opened this issue Feb 17, 2020 · 0 comments
Labels

Comments

@gregdhill
Copy link
Contributor

Assuming the architecture as implemented in #90, we will stream chunks of raw data after a header which contains metadata concerning the file as uploaded. Currently, this contains some generic fields such as Type to indicate a file's MIME type. If we were to store this header last, after processing the entire input stream, we could add some interesting information such as the total data written or a rolling hash. In order to still serve a partial 'read' (where we return the header without the body) we would expect the client to re-order the references.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants