↧
Answer by Carter Allen for How do I do content encoding properly in node.js?
If you want it to be downloaded as a text file with the proper encoding, you should use the text/plain; charset=utf-8content type. Simply using text isn't enough. I just tested it and it works as...
View ArticleHow do I do content encoding properly in node.js?
Given the following codevar http = require('http');http.createServer(function (request, response) { response.writeHead(200, {'Content-Type': 'text'}); response.write("Okay – so recently I’ve started...
View Article
More Pages to Explore .....