@@ -92,9 +92,7 @@ export interface CallbackRequestResult {
92
92
* in your request headers.
93
93
*
94
94
* If this is set, the Content-Length header will be automatically updated
95
- * accordingly to match, unless you also provide a `headers` value that
96
- * includes a Content-Length header, in which case that will take used
97
- * as-is.
95
+ * or added accordingly, if required.
98
96
*
99
97
* You should only return one body field: either `body`, `rawBody` or
100
98
* `json`.
@@ -106,9 +104,7 @@ export interface CallbackRequestResult {
106
104
* as is, and is not automatically encoded.
107
105
*
108
106
* If this is set, the Content-Length header will be automatically updated
109
- * accordingly to match, unless you also provide a `headers` value that
110
- * includes a Content-Length header, in which case that will take used
111
- * as-is.
107
+ * or added accordingly, if required.
112
108
*
113
109
* You should only return one body field: either `body`, `rawBody` or
114
110
* `json`.
@@ -121,9 +117,7 @@ export interface CallbackRequestResult {
121
117
* the Content-Encoding defined in your request headers.
122
118
*
123
119
* If this is set, the Content-Length header will be automatically updated
124
- * accordingly to match, unless you also provide a `headers` value that
125
- * includes a Content-Length header, in which case that will take used
126
- * as-is.
120
+ * or added accordingly, if required.
127
121
*
128
122
* You should only return one body field: either `body`, `rawBody` or
129
123
* `json`.
@@ -195,9 +189,7 @@ export interface CallbackResponseMessageResult {
195
189
* response headers.
196
190
*
197
191
* If this is set, the Content-Length header will be automatically updated
198
- * accordingly to match, unless you also provide a `headers` value that
199
- * includes a Content-Length header, in which case that will take used
200
- * as-is.
192
+ * or added accordingly, if required.
201
193
*
202
194
* Defaults to empty.
203
195
*
@@ -211,9 +203,7 @@ export interface CallbackResponseMessageResult {
211
203
* as is, and is not automatically encoded.
212
204
*
213
205
* If this is set, the Content-Length header will be automatically updated
214
- * accordingly to match, unless you also provide a `headers` value that
215
- * includes a Content-Length header, in which case that will take used
216
- * as-is.
206
+ * or added accordingly, if required.
217
207
*
218
208
* You should only return one body field: either `body`, `rawBody` or
219
209
* `json`.
@@ -226,9 +216,7 @@ export interface CallbackResponseMessageResult {
226
216
* Content-Encoding defined in your response headers.
227
217
*
228
218
* If this is set, the Content-Length header will be automatically updated
229
- * accordingly to match, unless you also provide a `headers` value that
230
- * includes a Content-Length header, in which case that will take used
231
- * as-is.
219
+ * or added accordingly, if required.
232
220
*
233
221
* You should only return one body field: either `body`, `rawBody` or
234
222
* `json`.
0 commit comments