Comments (4)
The reason for this feature is documented here: #34
How about if I restrict the capitalize method to only work on the Meta (ie, ObjectStore) fields?
EDIT: no, won't work either. If you have an idea how best to solve it, I would love to hear it.
from joss.
More in-depth: I added this change to JOSS because the metadata header was capitalized by Swift itself. By already capitalizing in JOSS, the behaviour between Swift and mock implementation would be similar.
I wonder: does your Swift implementation also capitalize the headers if you save the headers directly through the REST API?
from joss.
Phil, I also tried this on Swiftstack using curl and the behaviour on the metadata headers is exactly the same what I see on the CloudVPS implementation.
I'm sorry to say I cannot change anything in JOSS to make your life easier, so I'm going to close this issue.
My advice would be to write custom code that uncapitalizes your metadata header names.
from joss.
Sorry about the late reply. I am seeing the same things that you are describing where Swift is auto capitalizing. I agree that Joss is behaving the way it should.
I am using a library designed for S3 and am able to capture the data coming out of Swift in order to modify it (i.e. make it lowercase) so that the S3 library works. I also agree that this is an S3 / Swift compatibility issue that is an upstream problem (which I won't pursue since I have an acceptable workaround).
Thanks for all of the time you spent looking into my issue and for the quick response.
from joss.
Related Issues (20)
- storedObject.uploadObject(File file) deos not close the file stream
- losing exception information
- Race condition in ContainerCache.getContainer
- Rename getcontainerWritePermission
- StoredObject.exists() response 403
- KeystoneV3 authentication fails with nullpointer exeception HOT 1
- when occur UnauthorizedException , again invoke super.call(), inputstream is null.
- Do not log token refreshes as errors HOT 1
- Connection retires to storage fails
- X-Account-Meta-Temp-URL-Key has fully capitalized word, failing metadata fetch
- joss depends on jackson-mapper-asl:1.9.11 which has CVE vulnerability CVE-2019-10172 HOT 1
- using AuthenticationMethod.EXTERNAL and an AccessProvider results in NullPointerException
- How to test the PaginationMap locally
- swift auth: HTTP status 405, Error UNKNOWN
- Problem uploading files in directory
- No sync ContainerCache
- Getting SSLPeerUnverifiedException even after setting setDisableSslValidation(true) on Account Config
- username and tenantName are mixed up
- Account Information metadata cannot be resolved due to case-sensitive headers matching
- MD5_CHECKSUM error while uploading a file
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from joss.