Skip to content

Commit eb7557c

Browse files
authored
Merge pull request #11 from pdoerner/operation-timeout-header
Add Operation-Timeout header definition
2 parents 729f8d8 + 5ddd35f commit eb7557c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: SPEC.md

+5
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,11 @@ Headers that start with the `Nexus-Callback-` prefix are expected to be attached
9797
the handler. The callback request must strip away the `Nexus-Callback-` prefix. E.g if a Start Operation request
9898
includes a `Nexus-Callback-Token: some-token` header, the callback request would include a `Token: some-token` header.
9999

100+
The `Operation-Timeout` header field can be added to inform the handler how long the caller is willing to wait for an
101+
operation to complete. This is distinct from the more general `Request-Timeout` header which is used to indicate the
102+
timeout for a single HTTP request. Format of this header value is number + unit, where unit can be `ms` for
103+
milliseconds, `s` for seconds, and `m` for minutes.
104+
100105
The `Nexus-Link` header field can be added to associate resources with the start request. A handler may attach these
101106
links as metadata to underlying resources to provide end-to-end observabililty. See the [`Nexus-Link`](#nexus-link)
102107
section for more information.

0 commit comments

Comments
 (0)