@classmethod
def http_query_dict(cls, http_request):
    """Grab the correct query dict from the HTTP request.

        :param http_request: request
        :return: QueryDict
        """
    if http_request.method == 'POST':
        return http_request.POST
    if http_request.method == 'GET':
        return http_request.GET
    raise RuntimeError('Default implementation only supports GET and POST')
