subtext
subtext copied to clipboard
Respond with error for unhandled content encodings
This seems to be a more appropriate response.
Link: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/415
No real world issue here, just stumbled upon the inconsistency.
Feel free to merge as a non-breaking bug fix, if you prefer. I doubt there is anyone that relies on the current behaviour.
Looks legit, did it cause you real world problem? I'm wondering whether it should be breaking change or not.
It's a real world problem when it comes to disabling decompression 🗜 -> https://github.com/hapijs/hapi/pull/4549