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

Swift server capitalizes metadata fields #34

Closed
robert-bor opened this issue May 15, 2013 · 1 comment
Closed

Swift server capitalizes metadata fields #34

robert-bor opened this issue May 15, 2013 · 1 comment
Assignees
Labels
Milestone

Comments

@robert-bor
Copy link
Contributor

@robert-bor robert-bor commented May 15, 2013

If you send the following metadata field to the ObjectStore:

X-Container-Meta-small-caps-text: value

It creates the following:

X-Container-Meta-Small-Caps-Text: value

The best solution would be to have JOSS already capitalize the first character and all characters after a dash.

This would instantly fix the mismatch (for this issue) between the mock and the real ObjectStore as well.

@ghost ghost assigned robert-bor May 15, 2013
@robert-bor
Copy link
Contributor Author

@robert-bor robert-bor commented May 19, 2013

It appears underscores ('_') are replaced by dashes ('-').

robert-bor added a commit that referenced this issue May 19, 2013
… the first word of each header name (with delimiter dash) is capitalized
@robert-bor robert-bor closed this May 19, 2013
robert-bor added a commit that referenced this issue May 19, 2013
…capitalized when the metadata header name is separated by spaces (or anything other than underscores or dashes for that matter).
katta pushed a commit to twxkit/joss that referenced this issue Oct 6, 2014
…ashes and the first word of each header name (with delimiter dash) is capitalized
katta pushed a commit to twxkit/joss that referenced this issue Oct 6, 2014
…acter is capitalized when the metadata header name is separated by spaces (or anything other than underscores or dashes for that matter).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.