(client, method, uri, headers, body)
| 30 | |
| 31 | |
| 32 | def encode_none(client, method, uri, headers, body): |
| 33 | if method == "GET": |
| 34 | uri = add_params_to_uri(uri, [("client_id", client.client_id)]) |
| 35 | return uri, headers, body |
| 36 | body = add_params_to_qs(body, [("client_id", client.client_id)]) |
| 37 | if "Content-Length" in headers: |
| 38 | headers["Content-Length"] = str(len(body)) |
| 39 | return uri, headers, body |
| 40 | |
| 41 | |
| 42 | class ClientAuth: |
nothing calls this directly
no test coverage detected
searching dependent graphs…