code: def unpack_request(environ, content_length=0):
      
      data = None
      if environ["REQUEST_METHOD"] == "GET":
          data = unpack_get(environ)
      elif environ["REQUEST_METHOD"] == "POST":
          data = unpack_post(environ, content_length)
  
      logger.debug("read request data: %s", data)
      return data
docs: Unpacks a get or post request query string.
      :param environ: whiskey application environment.
      :return: A dictionary with parameters.