News for hackers. Stuff that matters.
Re:HTTP 402: Payment Required by kedean on Saturday February 01, 2020 @11:59PM (#22215232)
It does violate the contract of 4xx errors though, that a 4xx indicates a client error. If the store hasn't paid up, that's not the clients fault nor can they fix it. It should be some kind of 5xx for customers.
Re:HTTP 402: Payment Required by krainboltgreene on Sunday February 02, 2020 @06:13AM (#22216416)
If an admin disables your account by accident, that's still a 401. Just because the client can't change something, doesn't mean it doesn't fit along with the 4XX brand.
Re:HTTP 402: Payment Required by takeda on Sunday February 02, 2020 @09:50PM (#22221030)
401 means authentication is required. If Shopify is sending that to clients, because admin disabled access, that's just another example of abusing the error codes