Prepare the Request URI Query. Per `section 3.5.3`_ of the spec. .. _`section 3.5.3`: https://tools.ietf.org/html/rfc5849#section-3.5.3
(oauth_params, uri)
| 93 | |
| 94 | |
| 95 | def prepare_request_uri_query(oauth_params, uri): |
| 96 | """Prepare the Request URI Query. |
| 97 | |
| 98 | Per `section 3.5.3`_ of the spec. |
| 99 | |
| 100 | .. _`section 3.5.3`: https://tools.ietf.org/html/rfc5849#section-3.5.3 |
| 101 | |
| 102 | """ |
| 103 | # append OAuth params to the existing set of query components |
| 104 | sch, net, path, par, query, fra = urlparse.urlparse(uri) |
| 105 | query = url_encode(_append_params(oauth_params, extract_params(query) or [])) |
| 106 | return urlparse.urlunparse((sch, net, path, par, query, fra)) |
no test coverage detected
searching dependent graphs…