Use --max-http-header-size
on the node command-line to accept larger headers. If you get “node: bad option: –max-http-header-size”, upgrade to node v10.15.0 or newer. Relevant changelog
node --max-http-header-size 15000 client.js
Credit to @murad.
More Related Contents:
- How to set the HTTP Keep-Alive timeout in a nodejs server
- What’s the difference between path.resolve and path.join?
- Difference between `npm start` & `node app.js`, when starting app?
- NPM cannot install dependencies – Attempt to unlock something which hasn’t been locked
- Reading all files in a directory, store them in objects, and send the object
- nodejs “npm ERR! code SELF_SIGNED_CERT_IN_CHAIN”
- React + Material-UI – Warning: Prop className did not match
- Electron.remote is undefined
- How can I get Express.js to 404 only on missing routes?
- How to wait for a child process to finish in Node.js
- Unable to Change Favicon with Express.js
- npm update check failed
- NodeJs Error – Failed to load gRPC binary module because it was not installed for the current system Expected directory?
- How can I execute a node.js module as a child process of a node.js program?
- What’s the maximum size of a Node.js Buffer
- How to attach file to an email with nodemailer
- Mongodb find created results by date today
- How to detach a spawned child process in a Node.js script?
- How to use socket.io in express routes?
- how to create a readable stream from a remote url in nodejs?
- How to get SCSS variables into react
- Firebase realtime database transaction handler gets called twice most of the time
- Read file from aws s3 bucket using node fs
- Express Router undefined params with router.use when split across files
- Connect or Express middleware to modify the response.body [closed]
- nodejs connect error: “has no method ‘static'”
- CORS-enabled server not denying requests
- How do I uninstall nodejs installed from pkg (Mac OS X)?
- Using multiple parameters in URL in express
- Create unique autoincrement field with mongoose [duplicate]