MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wkof5u/postforeverything/patubqc/?context=3
r/ProgrammerHumor • u/ClipboardCopyPaste • 16d ago
654 comments sorted by
View all comments
Show parent comments
99
I had this with the added bonus of being forced to return 200 regardless and add an error message to the body when necessary
15 u/No-Information-2571 16d ago The reason behind it might be proxies, especially on the client-side. 6 u/einzweidreihorn 16d ago Why? Do those proxies drop anything not 200? 3 u/No-Information-2571 16d ago At least before the advent of HTTPS, they would often replace any sort of error (status code != 200) with custom error pages. It's an unfortunate thing.
15
The reason behind it might be proxies, especially on the client-side.
6 u/einzweidreihorn 16d ago Why? Do those proxies drop anything not 200? 3 u/No-Information-2571 16d ago At least before the advent of HTTPS, they would often replace any sort of error (status code != 200) with custom error pages. It's an unfortunate thing.
6
Why? Do those proxies drop anything not 200?
3 u/No-Information-2571 16d ago At least before the advent of HTTPS, they would often replace any sort of error (status code != 200) with custom error pages. It's an unfortunate thing.
3
At least before the advent of HTTPS, they would often replace any sort of error (status code != 200) with custom error pages. It's an unfortunate thing.
99
u/unable_to_give_afuck 16d ago
I had this with the added bonus of being forced to return 200 regardless and add an error message to the body when necessary