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
Rackspace uploads ignore default metadata headers specified in user.config #8518
Comments
This is a documentation error. The correct property name is |
Fixed in https://trac.cyberduck.io/wiki/help/en/howto/cloudfiles?version=59. |
|
Replying to [comment:3 Olga]:
|
I close Cyberduck before editing the config file. I tried (in turns) the CORS header:
and the example from the documentation:
Also updated to 4.6.4. But the PUT request is the same - without this header. Any ideas? |
I'm unable to reproduce the issue. Works for me. Are you sure that you have edited the correct user.config?
The issue is reported against 4.6.3 but apparently you changed the 4.6.1 settings. Can you please update to 4.6.4 and edit the appropriate user.config. |
OK, there seems to be another doc error here: It says on Windows 7 the user.config lives in
The path must have been changed in 4.6.2 or 4.6.3. So I was editing a wrong file left over from 4.6.1. After I changed the correct file the currently installed version 4.6.4, it worked. Thanks! |
Replying to [comment:9 Olga]:
Fixed in (https://trac.cyberduck.io/wiki/help/en/faq?version=110). |
I'm uploading files to a Rackspace Cloud Files container, and need to add the
Access-Control-Allow-Origin: *
header to all files. From the docs --https://trac.cyberduck.io/wiki/help/en/howto/cloudfiles#Defaultmetadata
https://trac.cyberduck.io/wiki/help/en/howto/preferences#Hiddenconfigurationoptions
I understand that I can set the default metadata headers for uploads in user.config.
\
I added the following to
<settings>
in C:\Users<name>\AppData\Roaming\Cyberduck\Cyberduck.exe_Url_<...>\4.6.1.16121\user.config:But when I upload the files to Rackspace, Cyberduck uploads them without this header.
Fiddler shows that Cyberduck PUTs the file without the custom header, and doesn't additionally POST the header:
\
If I PUT the file using cURL, the header gets added correctly:
The text was updated successfully, but these errors were encountered: