Skip to content

Commit

Permalink
ODATA-1581 (#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
ralfhandl authored Nov 15, 2023
1 parent c10216a commit c333bdc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/odata-json-format/odata-json-format.html
Original file line number Diff line number Diff line change
Expand Up @@ -1532,6 +1532,7 @@ <h2 id="191-batch-request"><a name="BatchRequest" href="#BatchRequest">19.1 Batc
<p>For media types of top-level type <code>text</code>, for example <code>text/plain</code>, the value of <code>body</code> is a string containing the value of the request body.</p>
<p>For all other media types the value of <code>body</code> is a string containing the base64url-encoded value of the request body. In this case the body content can be compressed or chunked if this is correctly reflected in the <code>Transfer-Encoding</code> header.</p>
<p>A <code>body</code> MUST NOT be specified if the <code>method</code> is <code>get</code> or <code>delete</code>.</p>
<p>The request object and the <code>headers</code> object MUST NOT contain name/value pairs with duplicate names. This is in conformance with <a href="#rfc7493">RFC7493</a>.</p>
<div class="example">
<p>Example <a name="batchRequest" href="#batchRequest">48</a>: a batch request that contains the following individual requests in the order listed</p>
<ol type="1">
Expand Down
3 changes: 3 additions & 0 deletions docs/odata-json-format/odata-json-format.md
Original file line number Diff line number Diff line change
Expand Up @@ -2959,6 +2959,9 @@ the body content can be compressed or chunked if this is correctly
reflected in the `Transfer-Encoding` header.

A `body` MUST NOT be specified if the `method` is `get` or `delete`.

The request object and the `headers` object MUST NOT contain name/value pairs with duplicate names.
This is in conformance with [RFC7493](#rfc7493).

::: example
Example <a name="batchRequest" href="#batchRequest">48</a>: a batch request that contains
Expand Down
3 changes: 3 additions & 0 deletions odata-json-format/19 Batch Requests and Responses.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,9 @@ the body content can be compressed or chunked if this is correctly
reflected in the `Transfer-Encoding` header.

A `body` MUST NOT be specified if the `method` is `get` or `delete`.

The request object and the `headers` object MUST NOT contain name/value pairs with duplicate names.
This is in conformance with [RFC7493](#rfc7493).

::: example
Example ##ex_batchRequest: a batch request that contains
Expand Down

0 comments on commit c333bdc

Please sign in to comment.