def put(self, cname): json_data = request.get_json(silent=True) if json_data is None: return response.bad_request("Problems parsing JSON.") mirrors_cached = self.cache_get("mirrors") if mirrors_cached is None: return response.bad_request("No cache for mirrors.") return response.not_implemented("API hasn't implemented.")
def delete(self): return response.not_implemented("API hasn't implemented.")