Exemple #1
0
    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.")
Exemple #2
0
 def delete(self):
     return response.not_implemented("API hasn't implemented.")