Skip to content

Commit 1227146

Browse files
committed
Clarify RPCv2 response event stream behavior
1 parent 6506f1f commit 1227146

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

docs/source-2.0/additional-specs/protocols/smithy-rpc-v2.rst

+6-5
Original file line numberDiff line numberDiff line change
@@ -214,10 +214,10 @@ Buffered RPC requests for the ``rpcv2Cbor`` protocol SHOULD include a
214214
``Content-Length`` header. Event streaming requests MUST NOT specify a content
215215
length (instead using ``Transfer-Encoding: chunked`` on HTTP/1.1).
216216

217-
Event streaming requests for the ``rpcv2Cbor`` protocol MUST include an
218-
``Accept`` header set to the value ``application/vnd.amazon.eventstream``.
219-
Other forms of content streaming MAY be added in the future, utilizing
220-
different values for ``Accept``.
217+
Requests with event stream responses for the ``rpcv2Cbor`` protocol MUST
218+
include an ``Accept`` header set to the value
219+
``application/vnd.amazon.eventstream``. Other forms of content streaming MAY be
220+
added in the future, utilizing different values for ``Accept``.
221221

222222
In summary, the ``rpcv2Cbor`` protocol defines behavior for the following
223223
headers for requests:
@@ -242,7 +242,8 @@ headers for requests:
242242
For event streaming requests, this MUST NOT be set.
243243
* - ``Accept``
244244
- Conditional
245-
- For event streaming requests, to the value ``application/vnd.amazon.eventstream``.
245+
- For requests with event streaming responses, this is
246+
``application/vnd.amazon.eventstream``.
246247

247248

248249
~~~~~~~~~

0 commit comments

Comments
 (0)