(client, method, uri, headers, body)
| 17 | |
| 18 | |
| 19 | def encode_client_secret_post(client, method, uri, headers, body): |
| 20 | body = add_params_to_qs( |
| 21 | body or "", |
| 22 | [ |
| 23 | ("client_id", client.client_id), |
| 24 | ("client_secret", client.client_secret or ""), |
| 25 | ], |
| 26 | ) |
| 27 | if "Content-Length" in headers: |
| 28 | headers["Content-Length"] = str(len(body)) |
| 29 | return uri, headers, body |
| 30 | |
| 31 | |
| 32 | def encode_none(client, method, uri, headers, body): |
nothing calls this directly
no test coverage detected