public static String createHeaders( int response_code )
    {
        String header = null;
        switch ( response_code )
        {
            case 200:
                header = RESPONSE_200;
                break;
            case 204:
                header = RESPONSE_204;
                break;
            case 400:
                header = RESPONSE_400;
                break;
            case 403:
                header = RESPONSE_403;
                break;
            case 404:
                header = RESPONSE_404;
                break;
            case 500:
                header = RESPONSE_500;
                break;
            case 501:
                header = RESPONSE_501;
                break;
            default:
                header = String.format( "HTTP/1.0 %d", response_code );
        }

        header = String.format( "%s\r\nConnection: close\r\nServer: Bukkit Minecraft %s %s\r\nContent-Type: text/plain\r\nExpires: Sat, 01 Jan 2000 00:00:00 GMT\r\nCache-Control: no-cache, no-store\r\n\r\n", header, HTTPConsole.getPackageName(), HTTPConsole.getVersion() );
        return header;
    }