Open Zarel opened 6 years ago
I can replicate this by linking to a node-static served page under 524287bytes in facebook messenger.
Range request exceeds file boundaries, goes until byte no 524287 against file size of 203 bytes
The range request on facebook messenger is it trying to generate a preview for the link if possible.
"Might serve file instead", why might? can we force it to? And if so, what are the implications?
This is the same issue as #185.
This is about standard output and standard error, as it is consistently request-able from any HTTP client to any HTTP server using node-static, it should not be printed to standard output or standard error.
I got some errors in my console:
Looks like either someone's trying to probe me for vulns, or someone's HTTP client is buggy. But why is this output to my error console? It seems like this should either be a 400 status code, or just ignored entirely. There should at least be some setting to turn it off, so my console can be reserved for server-side errors rather than client-side errors.