def request_to_formdata(headers, body):
    headers['Content-Type'] = 'application/x-www-form-urlencoded'
    body = urlencode(body)
    return headers, body
Request callback to transform a request with a dict as the body into
dataset/ETHPy150Open RafeKettler/bind/bind/callbacks.py/request_to_formdata