MCPcopy Index your code
hub / github.com/github-tools/github / methodHasNoBody

Function methodHasNoBody

lib/Requestable.js:291–293  ·  view source on GitHub ↗
(method)

Source from the content-addressed store, hash-verified

289// ////////////////////////// //
290const METHODS_WITH_NO_BODY = ['GET', 'HEAD', 'DELETE'];
291function methodHasNoBody(method) {
292 return METHODS_WITH_NO_BODY.indexOf(method) !== -1;
293}
294
295function getNextPage(linksHeader = '') {
296 const links = linksHeader.split(/\s*,\s*/); // splits and strips the urls

Callers 1

_requestMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…