4 ms·
One quibble. Perhaps I don't quite get the philosophy behind these, but wouldn't it be more useful to have a uniform structure to the responses. E.g., how usefu
by edoloughlin 15y ago
One quibble. Perhaps I don't quite get the philosophy behind these, but wouldn't it be more useful to have a uniform structure to the responses. E.g., how useful is it to the average user to get a human-readable response for 428 when it's likely to be consumed by an app (i.e., JS) which would have to parse the suggested <p> tag?
- johns 15y agoYou can return any content type you want and you should use content negotiation to return the type the client is expecting. The HTML descriptions are only suggestions.