Skip to content

Commit

Permalink
Do not write a value in Context upon failed extraction. (open-telemet…
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosalberto authored and Alex Boten committed Jul 20, 2020
1 parent c414835 commit 3cdc2f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions specification/context/api-propagators.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ The implemenation SHOULD preserve casing (e.g. it should not transform `Content-
Extracts the value from an incoming request. For example, from the headers of an HTTP request.

If a value can not be parsed from the carrier for a cross-cutting concern,
the implementation MUST NOT throw an exception. It MUST store a value in the `Context`
that the implementation can recognize as a null or empty value.
the implementation MUST NOT throw an exception and MUST NOT store a new value in the `Context`,
in order to preserve any previously existing valid value.

Required arguments:

Expand Down

0 comments on commit 3cdc2f0

Please sign in to comment.