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

Function formatMethodAndUrl

packages/effect/src/http/HttpClientError.ts:188–188  ·  view source on GitHub ↗
(reason: ReasonProps)

Source from the content-addressed store, hash-verified

186const redactedUrl = (reason: ReasonProps): string => UrlParams.redactUrl(redactedUrls.get(reason) ?? reason.request.url)
187
188const formatMethodAndUrl = (reason: ReasonProps): string => `${reason.request.method} ${redactedUrl(reason)}`
189
190// Serialized reasons carry the same request and response information as the
191// message, so headers, URL parameters and bodies stay out of logs. The full

Callers 6

methodAndUrlMethod · 0.70
methodAndUrlMethod · 0.70
methodAndUrlMethod · 0.70
methodAndUrlMethod · 0.70
methodAndUrlMethod · 0.70
methodAndUrlMethod · 0.70

Calls 1

redactedUrlFunction · 0.85

Tested by

no test coverage detected