2 ms·
418 is really a confusing response here. They should fix that ASAP by giving a normal error message.
by gpvos 8y ago
418 is really a confusing response here. They should fix that ASAP by giving a normal error message.
- nneonneo 8y agoI would recommend (if any NPM people are reading this) that the error for an unknown Host header be changed to 404. Bad host headers are already filtered out by Cloudflare (which returns 400), so any host headers that make it through would represent "unknown"/"missing" hosts (hence 404).