private static String appendQueryString(ServiceRequestContext ctx, String location) {
        final String query = ctx.query();
        if (query == null || location.lastIndexOf('?') >= 0) {
            // The request URI does not have a query string or
            // The new location includes a query string already.
            return location;
        }

        return location + '?' + query;
    }
NB: For now we redirect all methods.
core/src/main/java/com/linecorp/armeria/server/RedirectService.java