docs: def parse_request(self):
          """ Parse request for :func:`play`
          """
          data = {}
          options = {}
          ### get data
          if request.headers['Content-Type'].startswith('application/json'):
              # data in JSON
              data = request.json
              assert data is not None #FIXME: better error than assertError ?
              if "options" in data:
                  options = data["options"]
                  del data["options"]
          else:
              # data in URL/post
              data = dict()
              data.update(request.form)
              data.update(request.args)
              for key, value in six.iteritems(data):
                  if isinstance(value, list) and len(value) == 1:
                      data[key] = value[0]
              # manage config in url
              options = self._config_from_url()
          return data, options