Dmitriy Mozgovoy

Results 118 comments of Dmitriy Mozgovoy

I doubt this will solve the issue. It's a different type of keepalive check, which operates at the TCP socket level, not HTTP. Setting socket.setKeepAlive doesn't prevent the agent from...

> Mocks a socket object and verifies socket.setKeepAlive is NOT called when http.Agent({ keepAlive: false }) is provided, and IS called when keepAlive is true or no agent is provided...

You need to disable silent JSON parsing mode by setting `config.transitional.silentJSONParsing = false` ```js const instance = axios.create({ transitional: { silentJSONParsing: false } }) ``` from our Readme.md: ``` //...

@subooom Have you tried removing all the react code and testing a simple axios call with console.log and any public backend like https://httpbin.org/post ? Is there a network console available...

> Node.js Version > 20.14.0 Have you checked the node version? What is the output of `console.log(process.version);` or console cmd `node -v`? > I've tried using JS syntax 'const axios...

> Content-Length need to added as formdata automatically while generating formdata object. Content-Length is not required for multipart encoding. Additionally, Axios uses a built-in FormData encoder in the browser environment,...

> I am afraid fix is not sufficient... you still have lots of lines that are conditioned on hasBrowserEnv or hasStandardBrowserEnv that would crash if window & document are not...

Are there any advantages to this? The repository really needs some renovation, as frankly speaking, it's been a bit abandoned lately, even though the library is used by some fairly...