(val: Union[str, bytes])
| 1167 | |
| 1168 | |
| 1169 | def _oauth_escape(val: Union[str, bytes]) -> str: |
| 1170 | if isinstance(val, unicode_type): |
| 1171 | val = val.encode("utf-8") |
| 1172 | return urllib.parse.quote(val, safe="~") |
| 1173 | |
| 1174 | |
| 1175 | def _oauth_parse_response(body: bytes) -> Dict[str, Any]: |
no outgoing calls
no test coverage detected