MCPcopy
hub / github.com/axios/axios / request

Function request

tests/unit/prototypePollution.test.js:402–405  ·  view source on GitHub ↗
(options, handleResponse)

Source from the content-addressed store, hash-verified

400 let hijackCalled = false;
401 Object.prototype.transport = {
402 request(options, handleResponse) {
403 hijackCalled = true;
404 return http.request(options, handleResponse);
405 },
406 };
407
408 const server = http.createServer((req, res) => {

Callers

nothing calls this directly

Calls 1

requestMethod · 0.80

Tested by

no test coverage detected