Mode is query string.

Signed-off-by: cyberzhg <cyberzhg@gmail.com>