Skip to content

Commit 55b2b09

Browse files
Reconsider: Request / Response Execution Context Header Requirement (#108)
Clarified requirements for header values in requests and responses for execution context. The original intent was that there may be scenarios where the response value provides a different alias, or redirected version that is available. This was worded carefully in the statement before and after in the original content. Adding this line in the last update overrides that intent. --------- Signed-off-by: Travis Gosselin <[email protected]>
1 parent 77b1367 commit 55b2b09

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

standards/request-response.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -509,9 +509,7 @@ Sps-Cors-Error: bad origin
509509
- It **MUST** only contain ASCII lowercase letters (a–z), digits (0–9), underscore (`_`), or hyphen (`-`).
510510
- It **MUST NOT** contain accented/diacritic or non-ASCII characters.
511511
- The header value **SHOULD** contain human-readable tag for the context.
512-
- The original request header value **SHOULD** be propagated to any outgoing requests to retain the context for downstream usage.
513-
- The header **MUST** be supplied in the response for every request containing the header, and match the original requested value.
514-
- The header **SHOULD** be supplied in the response for every request in general, if applicable to the API, even if just defaulting to __prod__.
512+
- The header **SHOULD** be propagated to outgoing requests for downstream context retention and **MUST** be supplied in responses when provided in the request, reflecting either the requested value or the properly transformed value utilized for execution.
515513

516514
```note
517515
The allowed character set is intentionally conservative and may expand in the future. Implementations should avoid hard-coding assumptions and be prepared for a broader set if the standard is updated.

0 commit comments

Comments
 (0)