GSC Datastore: Add support for contentType property
closes #57
This PR follows up on #57

I couldn't get test/Test-GCSDataStore.js so i'll trust the travis output to fix the tests
I was going to write it but I couldn't get the GCS test suite to run locally. It does run on travis. I may be missing some env variables. Are there a few steps to follow before running them locally?
Yes, there are a few steps to follow. They are not directly documented anywhere but that's on my list to improve. The basic steps should be:
- Create a bucket on GCS
- Save the keyfile from Google Cloud as
keyfile.jsonin the root of the tus-node-server directory - Adjust the project Id and bucket name values in
test-GCSDataStore.js: https://github.com/tus/tus-node-server/blob/9ac6bf9e4964f86b93a36f765405ffc43f535c5e/test/Test-GCSDataStore.js#L17-L19 - Upload the file
test/test.mp4asdont_delete_this_file.mp4to your bucket
I think that should be all the steps. Let me know if they work for you.
Thank you very much for taking the time to review this PR. I appreciate.
You're welcome. Thank you very much for contribution.
@tkrugg Were you able to have a look at the GCS-tests yet? Is this PR ready from your side?
Closing this as stale and the source has now significantly diverged. Thanks for taking the time to contribute.