protected static String response(int status) {
        String response;
        switch(status){
            case 400:
                    response="Bad Request";
                    break;
            case 404:
                    response="Not Found";
                    break;
            case 501:
                    response="Method Not Implemented";
                    break;
            default:
                    response="Error not implemented";
                    break;
        }
        return response;
    }