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

Address Artart review #4

Merged
merged 2 commits into from Aug 25, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Prev Previous commit
BG-2: clarify text around the "@" separator
  • Loading branch information
cabo committed Aug 25, 2021
commit 4d994bb3dc95e16c1f83e37ea71947b370b2b261
18 changes: 11 additions & 7 deletions draft-ietf-core-senml-data-ct.md
Expand Up @@ -188,13 +188,17 @@ keep its data type consistent across uses. When the "ct" field
contains only digits, it is interpreted as a CoAP Content-Format
identifier.

To indicate that a Content-Coding is used with a Content-Type, the
Content-Coding value (e.g., "deflate" {{?RFC7230}}) is appended to the
Content-Type value (media type and parameters, if any), separated by a "@"
sign. For example: `text/plain; charset=utf-8@deflate`. If no "@" sign is
present outside the media type parameters, the Content-Coding is not
specified and the "identity" Content-Coding is used — no
encoding transformation is employed.
To indicate that a Content-Coding is used with a Content-Type,
the Content-Coding value is appended to the Content-Type value (media
type and parameters, if any), separated by a "@" sign.
For example (using a Content-Coding value of "deflate" as defined in
{{Section 4.2.2 of RFC7230}}):

text/plain; charset=utf-8@deflate

If no "@" sign is present after the media type and parameters,
then no Content-Coding has been specified, and the "identity"
Content-Coding is used — no encoding transformation is employed.

# SenML Base Content-Format ("bct") Field

Expand Down