gcs-resumable-upload
Advanced tools
Comparing version 0.4.1 to 0.4.2
@@ -89,2 +89,6 @@ 'use strict' | ||
if (metadata.contentLength) { | ||
reqOpts.headers['X-Upload-Content-Length'] = metadata.contentLength | ||
} | ||
if (metadata.contentType) { | ||
@@ -91,0 +95,0 @@ reqOpts.headers['X-Upload-Content-Type'] = metadata.contentType |
{ | ||
"name": "gcs-resumable-upload", | ||
"version": "0.4.1", | ||
"version": "0.4.2", | ||
"description": "Upload a file to Google Cloud Storage with built-in resumable behavior", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -91,3 +91,3 @@ # gcs-resumable-upload [![Build Status](https://travis-ci.org/stephenplusplus/gcs-resumable-upload.svg?branch=master)](https://travis-ci.org/stephenplusplus/gcs-resumable-upload) | ||
If you wish to only upload to a specific generation/version of this file, provide the generation number here. | ||
This will cause the upload to fail if the current generation of the remote object does not match the one provided here. | ||
@@ -94,0 +94,0 @@ ###### config.metadata |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13556
257