Home

Issue: 2931

nuxt.render documentation is wrong at production level

[issue link]

At this page, the request and response in nuxt.render(req, res) are linked to nodejs standard module http.

However in the production env, nuxt uses Gzip compression with compression that is built for express.

See https://github.com/nuxt/nuxt.js/blob/dev/lib/core/renderer.js#L217

So nuxt gets below error when using with http

I just want the document’s request, response link to be modified to connect not http. Keep us from being confused.

This question is available on Nuxt.js community (#c2546)