code: def _oauth_parse_response(body: bytes) -> Dict[str, Any]:
      # I can't find an officially-defined encoding for oauth responses and
      # have never seen anyone use non-ascii.  Leave the response in a byte
      # string for python 2, and use utf8 on python 3.
      body_str = escape.native_str(body)
      p = urllib.parse.parse_qs(body_str, keep_blank_values=False)
      token = dict(
          key=p["oauth_token"][0], secret=p["oauth_token_secret"][0]
      )
  
      # Add the extra parameters the Provider included to the token
      special = ("oauth_token", "oauth_token_secret")
      token.update((k, p[k][0]) for k in p if k not in special)
      return token
  
imports: import base64
  import binascii
  import hashlib
  import hmac
  import time
  import urllib.parse
  import uuid
  import warnings
  from tornado import httpclient
  from tornado import escape
  from tornado.httputil import url_concat
  from tornado.util import unicode_type
  from tornado.web import RequestHandler
  from typing import List, Any, Dict, cast, Iterable, Union, Optional
label_desc: Use image node_id 4 for calling a global function with example usage: _oauth_parse_response(body) and returns: token