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

Fix TargetContentType. Allow it to be empty. #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

VSerykh
Copy link

@VSerykh VSerykh commented Mar 28, 2019

https://docs.microsoft.com/en-us/azure/storage/common/storage-use-azcopy#setcontenttypecontent-type

According to Microsoft Docs:
If you specify this option without a value, then AzCopy sets each blob or file's content type according to its file extension.

  • Updated the check of TargetContentType value
  • Implemented setting argument w/o a value if empty value is provided (for both Windows and Linux)

https://docs.microsoft.com/en-us/azure/storage/common/storage-use-azcopy#setcontenttypecontent-type

According to Microsoft Docs:
If you specify this option without a value, then AzCopy sets each blob or file's content type according to its file extension.

* Updated the check of `TargetContentType` value
* Implemented setting argument w/o a value if empty value is provided (for both Windows and Linux)
Fix `TargetContentType`. Allow it to be empty.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant