News for hackers. Stuff that matters.
Re:HTTP 402: Payment Required by skissane on Saturday February 01, 2020 @10:05PM (#22214884)
> But there's relatively little value in that being an extra code

For the developer of the client, there is value in that it tells you to start your troubleshooting by looking at the "Accept" header. By contrast, a generic 400 doesn't give you that hint; maybe there will be something in the response headers or body to give you that hint, maybe there won't be.

There are no comments on this comment yet.