MCPcopy Create free account
hub / github.com/Effect-TS/effect / removeHash

Function removeHash

packages/effect/src/http/HttpClientRequest.ts:777–785  ·  view source on GitHub ↗
(self: HttpClientRequest)

Source from the content-addressed store, hash-verified

775 * @since 4.0.0
776 */
777export const removeHash = (self: HttpClientRequest): HttpClientRequest =>
778 makeWith(
779 self.method,
780 self.url,
781 self.urlParams,
782 Option.none(),
783 self.headers,
784 self.body
785 )
786
787/**
788 * Sets the request body and updates `Content-Type` and `Content-Length` headers from the body metadata when available.

Callers

nothing calls this directly

Calls 1

makeWithFunction · 0.70

Tested by

no test coverage detected