Skip to main content
Journey Uncommon Logo
JourneyUncommon
easyNodeJShttp server basicsSingle-choice MCQ

What is the effect of NOT setting a Content-Type header before sending JSON from a core http server?

const http = require('http'); http.createServer((req, res) => { res.end(JSON.stringify({ ok: true })); }).listen(3000);