def _prepare_wsgi_headers(headers: Optional[Dict[(str, Any)]], auth: Optional[RawAuth], auth_type: Optional[str]) -> Dict[(str, Any)]:
    headers = (headers or {})
    headers.setdefault('User-agent', USER_AGENT)
    wsgi_auth = get_wsgi_auth(auth, auth_type)
    if wsgi_auth:
        headers['Authorization'] = wsgi_auth
    return headers
def _prepare_wsgi_headers(headers: Optional[Dict[(str, Any)]], auth: Optional[RawAuth], auth_type: Optional[str]) -> Dict[(str, Any)]:
    headers = (headers or {})
    headers.setdefault('User-agent', USER_AGENT)
    wsgi_auth = get_wsgi_auth(auth, auth_type)
    if wsgi_auth:
        headers['Authorization'] = wsgi_auth
    return headers