Timeline for What should be the http status code for "Service not available in your area" error?
Current License: CC BY-SA 4.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jul 12, 2018 at 16:47 | comment | added | Jules | @max630 - it's entirely possible that 451 is appropriate here. Many jurisdictions require operators of this kind of service to be registered with regional authorities before providing the service. They could actually be legally prohibited from processing certain requests if they originate out-of-area. | |
| Jul 12, 2018 at 13:39 | comment | added | Thomas Owens♦ | @max630 You can't assume that from the question. 403 Forbidden is most likely the right choice. However, if there are legal restrictions on the service, the more specific 451 can be used instead. 451 is often seen as a more specific version of 403 for very particular use cases, so it makes sense to bring it up. | |
| Jul 12, 2018 at 13:37 | comment | added | max630 | Probably the reason in this case is that it makes no sense to tell user about cars which are not in their city. So it is not the case for 451 | |
| Jul 12, 2018 at 13:36 | history | answered | Thomas Owens♦ | CC BY-SA 4.0 |