-
Notifications
You must be signed in to change notification settings - Fork 249
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
TOOLS-xxxx use more content-type: in manta uploads #1063
base: master
Are you sure you want to change the base?
Conversation
@@ -133,7 +162,9 @@ function upload | |||
verbose mmkdir -p "$mbdir" | |||
|
|||
for file in $bits_dir/*; do | |||
verbose mput -f "$file" "$mbdir/$(basename $file)" | |||
filename="$(basename $file)" | |||
verbose mput -H "$(content_type $filename)" -f "$file" \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to be:
-H "content-type: $(content_type $filename)"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, wait...you're already including the header name. That should work. I guess we'll need to dig into Jenkins to see what went wrong.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's TritonDataCenter/eng that needs some changes here too. Building one right now that I hope will include the content-type branch of eng.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the "upload-bits" script.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No description provided.