@staticmethod
def _qargs_value(key, values, default=None):
    """Return the value from the query arguments for the specified key
        or the default value.

        :param str key: The key to get the value for
        :param dict values: The query value dict returned by urlparse
        :return: mixed

        """
    return values.get(key, [default])[0]
