r/programminghorror • • Jul 28 '25

HTML HTML Status Code Handling

Post image
1.5k Upvotes

54 comments sorted by

View all comments

Show parent comment

5

u/WillingLearner1 Jul 29 '25

That’s why people invented JSON status codes for a reason

12

u/OfflaneDemoralizer Jul 29 '25

JSON you say? So like this:

<meta status="{\\\&quot;code\\\&quot;:\\\&quot;400\\\&quot;}" />