Open krmax44 opened 7 years ago
Please set the content-type header to either text/xml or application/xml instead of text/html, as many podcast apps will only take valid xml files.
content-type
text/xml
application/xml
text/html
xml
An example snippet on how to do it:
var http = require('http'); http.createServer(function (req, res) { res.setHeader("content-type", "text/xml"); }).listen(80);
Please set the
content-type
header to eithertext/xml
orapplication/xml
instead oftext/html
, as many podcast apps will only take validxml
files.An example snippet on how to do it: