subtext icon indicating copy to clipboard operation
subtext copied to clipboard

Respond with error for unhandled content encodings

Open kanongil opened this issue 4 months ago • 2 comments

This seems to be a more appropriate response.

Link: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/415

kanongil avatar Aug 04 '25 12:08 kanongil

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.

kanongil avatar Aug 05 '25 15:08 kanongil

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

bricss avatar Sep 16 '25 08:09 bricss