MCPcopy Create free account
hub / github.com/PageLeay/celestial-runtime / hasBody

Method hasBody

lib.commonjs/utils/fetch.js:203–205  ·  view source on GitHub ↗

* Returns true if the request has a body.

()

Source from the content-addressed store, hash-verified

201 * Returns true if the request has a body.
202 */
203 hasBody() {
204 return (this.#body != null);
205 }
206 /**
207 * The HTTP method to use when requesting the URI. If no method
208 * has been explicitly set, then ``GET`` is used if the body is

Callers 3

methodMethod · 0.95
fetchMethod · 0.45
createProviderFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected