At first i thought i had to return HTTP 410 gone in this case, but HTTP Semantics RFC[0] says that “The 410 (Gone) status code indicates that […] this condition is likely to be permanent. If the origin server does not know […] whether or not the condition is permanent, the status code 404 (Not Found) ought to be used instead.” A non-active campsite type does not mean “deleted”, but rather temporarily disabled, thus a 404 is the appropriate code. [0] https://www.rfc-editor.org/rfc/rfc9110#status.410
Description
No description provided
Languages
PLpgSQL
67.5%
Go
24.3%
CSS
3.9%
C++
1.8%
QML
1.2%
Other
1.1%