If we changed route to
config.add_route("search-json-obsolete", "/search/json")
then added it to the obsolete view in charmworld/views/api.py
@view_config(route_name="search-json-obsolete")
@view_config(route_name="api-obsolete-0")
@view_config(route_name="api-obsolete-1")
def obsolete(request):
....
We could clearly state the feature is 410 Gone. It wont show up in a list of 404s. Is there any reason that 410 is wrong? Do we want old clients to see 404?
If we changed route to add_route( "search- json-obsolete" , "/search/json") views/api. py config( route_name= "search- json-obsolete" ) config( route_name= "api-obsolete- 0") config( route_name= "api-obsolete- 1")
config.
then added it to the obsolete view in charmworld/
@view_
@view_
@view_
def obsolete(request):
....
We could clearly state the feature is 410 Gone. It wont show up in a list of 404s. Is there any reason that 410 is wrong? Do we want old clients to see 404?