(req: HttpClientRequest.HttpClientRequest)
| 838 | encoding: Record<string, EncodingObject> | undefined, |
| 839 | ): AppliedRequestBody => { |
| 840 | const sent = (req: HttpClientRequest.HttpClientRequest): AppliedRequestBody => ({ |
| 841 | ok: true, |
| 842 | request: req, |
| 843 | }); |
| 844 | |
| 845 | if (isJsonContentType(contentType)) { |
| 846 | const text = typeof bodyValue === "string" ? bodyValue : JSON.stringify(bodyValue); |