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

Comments

Projects
None yet
1 participant
@robert-bor
Member

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

This comment has been minimized.

Show comment
Hide comment
@robert-bor

robert-bor May 19, 2013

Member

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

Member

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

Issue #34 - in metadata names, underscores are replaced by dashes and…
… 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

Issue #34 - added a test that guarantees only the first character is …
…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

Issue #34 - in metadata names, underscores are replaced by dashes 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

Issue #34 - added a test that guarantees only the first character 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